about summary refs log tree commit diff
path: root/src/test/debuginfo/enum-thinlto.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2017-06-04 05:44:39 +0000
committerbors <bors@rust-lang.org>2017-06-04 05:44:39 +0000
commit0b17b4c0846d0e01544e90bb2aa2776576e825d1 (patch)
tree0e280de282d4988b39ab3ef4a08fe188f6e70561 /src/test/debuginfo/enum-thinlto.rs
parent1b5a923001c481627d7b1d19d0fe1d3f86e5c5a6 (diff)
parentcfdbff7c125cbdd5a2b75e526717413718d16111 (diff)
downloadrust-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