We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b321742 commit 4e83924Copy full SHA for 4e83924
compiler/rustc_trait_selection/src/traits/coherence.rs
@@ -279,9 +279,7 @@ fn implicit_negative<'cx, 'tcx>(
279
predicate: p,
280
})
281
.chain(obligations)
282
- .find(|o| {
283
- loose_check(selcx, o) || tcx.features().negative_impls && negative_impl_exists(selcx, o)
284
- });
+ .find(|o| loose_check(selcx, o));
285
// FIXME: the call to `selcx.predicate_may_hold_fatal` above should be ported
286
// to the canonical trait query form, `infcx.predicate_may_hold`, once
287
// the new system supports intercrate mode (which coherence needs).
0 commit comments