Cleanup free_region_relations a bit
This commit is contained in:
parent
8996ea93b6
commit
1a663c0f53
6 changed files with 91 additions and 72 deletions
|
@ -81,6 +81,7 @@ fn compute_implied_outlives_bounds<'tcx>(
|
|||
// From the full set of obligations, just filter down to the
|
||||
// region relationships.
|
||||
outlives_bounds.extend(obligations.into_iter().filter_map(|obligation| {
|
||||
debug!(?obligation);
|
||||
assert!(!obligation.has_escaping_bound_vars());
|
||||
match obligation.predicate.kind().no_bound_vars() {
|
||||
None => None,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue