diff options
| author | bors <bors@rust-lang.org> | 2017-06-04 05:44:39 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2017-06-04 05:44:39 +0000 |
| commit | 0b17b4c0846d0e01544e90bb2aa2776576e825d1 (patch) | |
| tree | 0e280de282d4988b39ab3ef4a08fe188f6e70561 /src/test/debuginfo/enum-thinlto.rs | |
| parent | 1b5a923001c481627d7b1d19d0fe1d3f86e5c5a6 (diff) | |
| parent | cfdbff7c125cbdd5a2b75e526717413718d16111 (diff) | |
| download | rust-0b17b4c0846d0e01544e90bb2aa2776576e825d1.tar.gz rust-0b17b4c0846d0e01544e90bb2aa2776576e825d1.zip | |
Auto merge of #42265 - Zoxc:for-sugar, r=eddyb
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.
Diffstat (limited to 'src/test/debuginfo/enum-thinlto.rs')
0 files changed, 0 insertions, 0 deletions
