Files
rust/compiler/rustc_ast_lowering/src
Jonathan Brouwer cf24767d6e Rollup merge of #157738 - TaKO8Ki:move-expr-coroutine-closures, r=nikomatsakis
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
2026-09-08 23:32:13 +02:00
..
2026-08-09 15:20:29 +02:00
2026-08-09 15:20:29 +02:00
2026-09-04 14:29:19 +02:00
2026-09-02 07:29:56 +10:00