]> git.proxmox.com Git - rustc.git/blame - src/tools/clippy/tests/ui/for_loop_unfixable.stderr
Update upstream source from tag 'upstream/1.52.1+dfsg1'
[rustc.git] / src / tools / clippy / tests / ui / for_loop_unfixable.stderr
CommitLineData
f20569fa
XL
1error: you are iterating over `Iterator::next()` which is an Option; this will compile but is probably not what you want
2 --> $DIR/for_loop_unfixable.rs:21:15
3 |
4LL | for _v in vec.iter().next() {}
5 | ^^^^^^^^^^^^^^^^^
6 |
7 = note: `-D clippy::iter-next-loop` implied by `-D warnings`
8
9error: aborting due to previous error
10