Skip to content

Consider captured regions for opaque type region liveness.#156027

Open
jackh726 wants to merge 1 commit intorust-lang:mainfrom
jackh726:opaque-liveness
Open

Consider captured regions for opaque type region liveness.#156027
jackh726 wants to merge 1 commit intorust-lang:mainfrom
jackh726:opaque-liveness

Conversation

@jackh726
Copy link
Copy Markdown
Member

@jackh726 jackh726 commented May 1, 2026

Fixes #153215

For opaques, when we're calculating liveness for opaques, we want to consider any captured lifetimes that can outlive the opaque type, which is more than just the outlives bounds.

r? lqd

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels May 1, 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. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

free region visitor for liveness marking regions dead and polonius alpha soundness

3 participants