Skip to content

Minor unsoundness fix with FnDef lifetimes#156776

Open
addiesh wants to merge 1 commit into
rust-lang:mainfrom
addiesh:quickfix
Open

Minor unsoundness fix with FnDef lifetimes#156776
addiesh wants to merge 1 commit into
rust-lang:mainfrom
addiesh:quickfix

Conversation

@addiesh
Copy link
Copy Markdown

@addiesh addiesh commented May 20, 2026

This is a minor breaking(?) change that tries to fix some issues brought up in #70917 and #84366 . As far as I can tell, the behavior for closures is still unchanged, which I believe is another part of the unsoundness. I don't have enough experience working with the compiler yet to fix it though.

r? oli-obk

@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 20, 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.

3 participants