rust-clippy/tests/ui/range.stderr

11 lines
293 B
Text
Raw Normal View History

error: it is more idiomatic to use `v1.iter().enumerate()`
2023-06-06 20:56:57 +00:00
--> $DIR/range.rs:6:14
|
2018-12-27 15:57:55 +00:00
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
2018-01-16 16:06:27 +00:00