rust/clippy_tests/examples/range.stderr

13 lines
333 B
Plaintext
Raw Normal View History

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.