2017-02-07 21:05:30 +01:00
|
|
|
error: It is more idiomatic to use v1.iter().enumerate()
|
2017-07-05 08:14:24 +02:00
|
|
|
--> range.rs:22:14
|
2017-02-07 21:05:30 +01:00
|
|
|
|
|
2017-07-05 08:14:24 +02:00
|
|
|
22 | let _x = v1.iter().zip(0..v1.len());
|
2017-02-07 21:05:30 +01:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
2017-05-17 14:19:44 +02:00
|
|
|
= note: `-D range-zip-with-len` implied by `-D warnings`
|
2017-02-07 21:05:30 +01:00
|
|
|
|
2017-07-05 08:14:24 +02:00
|
|
|
error: aborting due to previous error
|
2017-02-07 21:05:30 +01:00
|
|
|
|
2017-05-17 14:19:44 +02:00
|
|
|
|
|
|
|
To learn more, run the command again with --verbose.
|