Skip to content

Commit 6ae1d68

Browse files
committed
Use predicate_must_hold_modulo_regions
1 parent 89a419c commit 6ae1d68

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_trait_selection/src/traits/coherence.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ fn overlap_within_probe(
205205
!selcx.predicate_may_hold_fatal(o)
206206
|| o.flip_polarity(tcx)
207207
.as_ref()
208-
.map(|o| selcx.infcx().predicate_must_hold_considering_regions(o))
208+
.map(|o| selcx.infcx().predicate_must_hold_modulo_regions(o))
209209
.unwrap_or(false)
210210
});
211211
// FIXME: the call to `selcx.predicate_may_hold_fatal` above should be ported

0 commit comments

Comments
 (0)