]> git.lizzy.rs Git - rust.git/blob - src/tools/clippy/tests/ui/range.stderr
Merge commit 'dbee13661efa269cb4cd57bb4c6b99a19732b484' into sync_cg_clif-2020-12-27
[rust.git] / src / tools / clippy / tests / ui / range.stderr
1 error: it is more idiomatic to use `v1.iter().enumerate()`
2   --> $DIR/range.rs:5:14
3    |
4 LL |     let _x = v1.iter().zip(0..v1.len());
5    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^
6    |
7    = note: `-D clippy::range-zip-with-len` implied by `-D warnings`
8
9 error: aborting due to previous error
10