]> git.lizzy.rs Git - rust.git/blob - src/tools/clippy/tests/ui/range.stderr
Merge commit '35d9c6bf256968e1b40e0d554607928bdf9cebea' into sync_cg_clif-2022-02-23
[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