bors 087e5eaea5 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
2019-10-23 20:12:14 +00:00
..
2019-10-03 08:10:29 +09:00
2019-09-27 18:01:04 +02:00
2019-10-15 09:58:11 +02:00
2019-10-15 09:58:11 +02:00
2019-10-15 09:58:11 +02:00
2019-10-15 09:58:11 +02:00
2019-10-02 21:15:28 +02:00
2019-10-02 21:15:28 +02:00
2019-09-25 14:45:18 -07:00
2019-10-03 08:10:29 +09:00
2019-10-15 09:58:11 +02:00
2019-10-15 09:58:11 +02:00
2019-10-15 09:58:11 +02:00
2019-10-15 09:58:11 +02:00
2019-10-18 07:40:48 +02:00
2019-10-18 07:40:48 +02:00
2019-10-02 21:15:28 +02:00
2019-10-15 09:58:11 +02:00
2019-10-02 09:39:04 +02:00
2019-10-15 09:58:11 +02:00
2019-10-15 09:58:11 +02:00
2019-10-15 09:58:11 +02:00
2019-10-15 09:58:11 +02:00
2019-10-03 08:10:29 +09:00
2019-10-03 08:10:29 +09:00
2019-10-15 09:58:11 +02:00
2019-10-18 07:40:48 +02:00
2019-10-18 07:40:48 +02:00
2019-10-08 08:46:29 -05:00
2019-10-08 08:46:29 -05:00
2019-10-08 08:46:29 -05:00
2019-10-08 08:46:29 -05:00
2019-10-08 08:46:29 -05:00
2019-10-15 09:58:11 +02:00
2019-10-15 09:58:11 +02:00
2019-10-03 08:10:29 +09:00
2019-09-20 23:21:37 +09:00
2019-10-18 07:40:48 +02:00
2019-10-18 07:40:48 +02:00
2019-10-18 07:40:48 +02:00
2019-10-18 07:40:48 +02:00
2019-10-03 08:10:29 +09:00
2019-10-03 08:10:29 +09:00
2019-10-15 09:58:11 +02:00
2019-10-15 09:58:11 +02:00
2019-10-03 08:10:29 +09:00
2019-10-03 08:10:29 +09:00
2019-10-03 08:10:29 +09:00
2019-10-14 12:09:04 +02:00
2019-10-14 12:09:04 +02:00
2019-10-15 09:58:11 +02:00
2019-10-15 09:58:11 +02:00
2019-10-03 08:10:29 +09:00
2019-10-03 08:10:29 +09:00
2019-10-15 09:58:11 +02:00
2019-10-15 09:58:11 +02:00
2019-10-03 08:10:29 +09:00
2019-10-15 09:58:11 +02:00
2019-10-15 09:58:11 +02:00
2019-10-15 09:58:11 +02:00
2019-10-18 07:40:48 +02:00
2019-10-18 07:40:48 +02:00
2019-09-25 12:52:16 -07:00
2019-10-02 22:38:00 +07:00