summary refs log tree commit diff
path: root/src/tools/clippy/tests/ui/range.stderr
blob: d53c1edecac018f5d605b0653cc8f9c71603dd8e (plain)
1
2
3
4
5
6
7
8
9
10
error: It is more idiomatic to use `v1.iter().enumerate()`
  --> $DIR/range.rs:5: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