mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-12-21 10:33:27 +00:00
85384afca3
Update test outputs.
12 lines
333 B
Text
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.
|