about summary refs log tree commit diff
path: root/src/test/incremental/thinlto
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2019-10-23 20:12:14 +0000
committerbors <bors@rust-lang.org>2019-10-23 20:12:14 +0000
commit087e5eaea5c23d65e2b58b5f89e52b3a9f8aa31b (patch)
treea83810df5c2cb9ae4db767e2195398aa8929f9e1 /src/test/incremental/thinlto
parent1bce252859a67a22ccede7ba2a6fbefa595043bf (diff)
parenta9cb2b9001313046e7a8ccb2fc4b1619d64cc4da (diff)
downloadrust-087e5eaea5c23d65e2b58b5f89e52b3a9f8aa31b.tar.gz
rust-087e5eaea5c23d65e2b58b5f89e52b3a9f8aa31b.zip
Auto merge of #4691 - HMPerson1:suggest_iter, r=phansch
Fix suggestion of `explicit_counter_loop`

changelog: In the suggestion of `explicit_counter_loop`, if the `for` loop argument doesn't implement `Iterator`, then we suggest `x.into_iter().enumerate()` (or `x.iter{_mut}()` as appropriate). Also, the span of the suggestion has been corrected.

Fixes #4678
Diffstat (limited to 'src/test/incremental/thinlto')
0 files changed, 0 insertions, 0 deletions