File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
compiler/rustc_trait_selection/src/traits Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -280,9 +280,6 @@ fn implicit_negative<'cx, 'tcx>(
280280 } )
281281 . chain ( obligations)
282282 . find ( |o| loose_check ( selcx, o) ) ;
283- // FIXME: the call to `selcx.predicate_may_hold_fatal` above should be ported
284- // to the canonical trait query form, `infcx.predicate_may_hold`, once
285- // the new system supports intercrate mode (which coherence needs).
286283
287284 if let Some ( failing_obligation) = opt_failing_obligation {
288285 debug ! ( "overlap: obligation unsatisfiable {:?}" , failing_obligation) ;
@@ -361,6 +358,9 @@ fn loose_check<'cx, 'tcx>(
361358 selcx : & mut SelectionContext < ' cx , ' tcx > ,
362359 o : & PredicateObligation < ' tcx > ,
363360) -> bool {
361+ // FIXME: the call to `selcx.predicate_may_hold_fatal` below should be ported
362+ // to the canonical trait query form, `infcx.predicate_may_hold`, once
363+ // the new system supports intercrate mode (which coherence needs).
364364 !selcx. predicate_may_hold_fatal ( o)
365365}
366366
You can’t perform that action at this time.
0 commit comments