We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 89a419c commit 6ae1d68Copy full SHA for 6ae1d68
compiler/rustc_trait_selection/src/traits/coherence.rs
@@ -205,7 +205,7 @@ fn overlap_within_probe(
205
!selcx.predicate_may_hold_fatal(o)
206
|| o.flip_polarity(tcx)
207
.as_ref()
208
- .map(|o| selcx.infcx().predicate_must_hold_considering_regions(o))
+ .map(|o| selcx.infcx().predicate_must_hold_modulo_regions(o))
209
.unwrap_or(false)
210
});
211
// FIXME: the call to `selcx.predicate_may_hold_fatal` above should be ported
0 commit comments