Use predicate_must_hold_modulo_regions
This commit is contained in:
parent
89a419cf7d
commit
6ae1d68e16
1 changed files with 1 additions and 1 deletions
|
@ -205,7 +205,7 @@ fn overlap_within_probe(
|
||||||
!selcx.predicate_may_hold_fatal(o)
|
!selcx.predicate_may_hold_fatal(o)
|
||||||
|| o.flip_polarity(tcx)
|
|| o.flip_polarity(tcx)
|
||||||
.as_ref()
|
.as_ref()
|
||||||
.map(|o| selcx.infcx().predicate_must_hold_considering_regions(o))
|
.map(|o| selcx.infcx().predicate_must_hold_modulo_regions(o))
|
||||||
.unwrap_or(false)
|
.unwrap_or(false)
|
||||||
});
|
});
|
||||||
// FIXME: the call to `selcx.predicate_may_hold_fatal` above should be ported
|
// FIXME: the call to `selcx.predicate_may_hold_fatal` above should be ported
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue