rust/tests/ui/range.stderr
2023-06-06 22:56:57 +02:00

11 lines
293 B
Plaintext

error: it is more idiomatic to use `v1.iter().enumerate()`
--> $DIR/range.rs:6:14
|
LL | let _x = v1.iter().zip(0..v1.len());
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `-D clippy::range-zip-with-len` implied by `-D warnings`
error: aborting due to previous error