Skip to content

Introduce move expressions (move($expr)) #155023

Draft
TaKO8Ki wants to merge 10 commits intorust-lang:mainfrom
TaKO8Ki:move-expr-1
Draft

Introduce move expressions (move($expr)) #155023
TaKO8Ki wants to merge 10 commits intorust-lang:mainfrom
TaKO8Ki:move-expr-1

Conversation

@TaKO8Ki
Copy link
Copy Markdown
Member

@TaKO8Ki TaKO8Ki commented Apr 9, 2026

This is an experimental first version of move expressions.

This first version implements it just in plain closures. A support for coroutine closures will be added in follow up pull requests.

RFC: will be added later
Tracking issue: will be added later
Project goal:

r? @ghost

@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 Apr 9, 2026
@rustbot rustbot added the T-clippy Relevant to the Clippy team. label Apr 9, 2026
@rustbot rustbot added the T-rustfmt Relevant to the rustfmt team, which will review and decide on the PR/issue. label Apr 9, 2026
@rust-lang rust-lang deleted a comment from rust-log-analyzer Apr 9, 2026
@rust-lang rust-lang deleted a comment from rust-log-analyzer Apr 9, 2026
@rust-lang rust-lang deleted a comment from rust-log-analyzer Apr 9, 2026
@TaKO8Ki TaKO8Ki changed the title Move expressions (move($expr)) Introduce move expressions (move($expr)) Apr 9, 2026
@rust-log-analyzer

This comment has been minimized.

@rust-log-analyzer

This comment has been minimized.

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-clippy Relevant to the Clippy team. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. T-rustfmt Relevant to the rustfmt 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