diff options
| author | bors <bors@rust-lang.org> | 2019-10-23 20:12:14 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2019-10-23 20:12:14 +0000 |
| commit | 087e5eaea5c23d65e2b58b5f89e52b3a9f8aa31b (patch) | |
| tree | a83810df5c2cb9ae4db767e2195398aa8929f9e1 /src/test/incremental/thinlto | |
| parent | 1bce252859a67a22ccede7ba2a6fbefa595043bf (diff) | |
| parent | a9cb2b9001313046e7a8ccb2fc4b1619d64cc4da (diff) | |
| download | rust-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
