1
Fork 0
This commit is contained in:
Jack Huey 2021-01-04 01:58:33 -05:00
parent 876192e8cd
commit e76476afe4
11 changed files with 35 additions and 45 deletions

View file

@ -94,7 +94,7 @@ fn compute_implied_outlives_bounds<'tcx>(
// region relationships.
implied_bounds.extend(obligations.into_iter().flat_map(|obligation| {
assert!(!obligation.has_escaping_bound_vars());
let binder = obligation.predicate.kind();
let binder = obligation.predicate.bound_atom();
if binder.skip_binder().has_escaping_bound_vars() {
vec![]
} else {