mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-22 10:05:06 +03:00
0b17b4c084
Change for-loop desugar to not borrow the iterator during the loop This is enables the use of suspend points inside for-loops in movable generators. This is illegal in the current desugaring as `iter` is borrowed across the body.