Skip to content

Support unsafe binders in borrowck, stable MIR and const-eval#156373

Draft
cjgillot wants to merge 3 commits intorust-lang:mainfrom
cjgillot:unsafer-binder
Draft

Support unsafe binders in borrowck, stable MIR and const-eval#156373
cjgillot wants to merge 3 commits intorust-lang:mainfrom
cjgillot:unsafer-binder

Conversation

@cjgillot
Copy link
Copy Markdown
Contributor

@cjgillot cjgillot commented May 9, 2026

Extracted from #146562

Those were the changes required to use unsafe binders in coroutines. I'm not sure how to test them, so this PR mostly gives out the code to whomever can craft those tests.

r? @oli-obk

@rustbot rustbot added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels May 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. 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