rust-clippy/clippy_tests/examples/range.stderr
uHOOCCOOHu 85384afca3
Remove tests using removed feature step_by.
Update test outputs.
2017-07-05 14:14:24 +08:00

12 lines
333 B
Text

error: It is more idiomatic to use v1.iter().enumerate()
--> range.rs:22:14
|
22 | let _x = v1.iter().zip(0..v1.len());
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `-D range-zip-with-len` implied by `-D warnings`
error: aborting due to previous error
To learn more, run the command again with --verbose.