Skip to content

feat: early late classification of lifetimes#22283

Open
dfireBird wants to merge 1 commit intorust-lang:masterfrom
dfireBird:push-vqzllvyozoqs
Open

feat: early late classification of lifetimes#22283
dfireBird wants to merge 1 commit intorust-lang:masterfrom
dfireBird:push-vqzllvyozoqs

Conversation

@dfireBird
Copy link
Copy Markdown
Contributor

@dfireBird dfireBird commented May 4, 2026

Some things to note:

  1. We still don't handle the HRTB Lifetimes (in both where and fn ptr) and will be done in a future PR and that PR should also remove the in_binders and fully replace it with bound_vars stack.
  2. I haven't added a new tests, not sure how to test this particularly, so any approach to test them are helpful (this should be done before merging)
  3. There are some IDE features which lose information that I consider to be essential, need to find a way to not have that loss of information (see FIXME in ide tests)
  4. I have implemented this to best of my understanding of both r-a and rustc, so if there are panics or data mismatch, I'm really sorry that happened, I'll try to fix it as soon as I get to know about it.

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label May 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-review Status: Awaiting review from the assignee but also interested parties.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants