Skip to content

Commit

Permalink
Auto merge of #101454 - cjgillot:concat-binders, r=estebank
Browse files Browse the repository at this point in the history
Do not overwrite lifetime binders for another HirId.

This PR makes higher-ranked bounds in where clauses a bit more principled.
We used to conflate `for<'a> T: Trait` with `(for<'a> T): Trait`.
This PR separates both binders.

This caused issued with fn types, which have their own binder, causing us to overwrite the predicates's binders with `fn`'s binders, ICEing.

Fixes rust-lang/rust#98594
  • Loading branch information
bors committed Sep 28, 2022
2 parents 94048e7 + 6784b45 commit e1e3801
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit e1e3801

Please sign in to comment.