mirror of
https://github.com/allankoechke/rust.git
synced 2026-12-05 09:23:31 +00:00
Support move expressions in coroutine closures This adds `move(expr)` support for coroutine closures. - [x] Support for move expressions in coroutine closures - [x] Support for move expressions in async blocks RFC: https://github.com/rust-lang/rfcs/pull/3968 Tracking issue: https://github.com/rust-lang/rust/issues/155050 Project goal: - https://github.com/rust-lang/rust-project-goals/issues/107 - https://rust-lang.github.io/rust-project-goals/2026/ergonomic-rc.html I used AI to write the tests and reviewed them myself. r? @nikomatsakis