]> git.lizzy.rs Git - rust.git/blob - src/tools/clippy/tests/ui/issue_2356.stderr
Auto merge of #97944 - nikic:freebsd-update, r=Mark-Simulacrum
[rust.git] / src / tools / clippy / tests / ui / issue_2356.stderr
1 error: this loop could be written as a `for` loop
2   --> $DIR/issue_2356.rs:17:9
3    |
4 LL |         while let Some(e) = it.next() {
5    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `for e in it`
6    |
7 note: the lint level is defined here
8   --> $DIR/issue_2356.rs:2:9
9    |
10 LL | #![deny(clippy::while_let_on_iterator)]
11    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
12
13 error: aborting due to previous error
14