region_outlives_predicate
no snapshot
This commit is contained in:
parent
608625dae9
commit
43ccacf89b
6 changed files with 15 additions and 42 deletions
|
@ -793,9 +793,7 @@ impl<'tcx> AutoTraitFinder<'tcx> {
|
|||
}
|
||||
ty::PredicateKind::RegionOutlives(binder) => {
|
||||
let binder = bound_predicate.rebind(binder);
|
||||
if select.infcx().region_outlives_predicate(&dummy_cause, binder).is_err() {
|
||||
return false;
|
||||
}
|
||||
select.infcx().region_outlives_predicate(&dummy_cause, binder)
|
||||
}
|
||||
ty::PredicateKind::TypeOutlives(binder) => {
|
||||
let binder = bound_predicate.rebind(binder);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue