rust/tests/ui/range.stderr

12 lines
373 B
Plaintext
Raw Normal View History

error: it is more idiomatic to use `v1.iter().enumerate()`
--> $DIR/range.rs:6:14
|
2018-12-27 09:57:55 -06:00
LL | let _x = v1.iter().zip(0..v1.len());
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `-D clippy::range-zip-with-len` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::range_zip_with_len)]`
error: aborting due to previous error
2018-01-16 10:06:27 -06:00