fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
402 B14 linesraw
1error: this loop could be written as a `for` loop
2  --> $DIR/issue_2356.rs:17:9
3   |
4LL |         while let Some(e) = it.next() {
5   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `for e in it`
6   |
7note: the lint level is defined here
8  --> $DIR/issue_2356.rs:1:9
9   |
10LL | #![deny(clippy::while_let_on_iterator)]
11   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
12
13error: aborting due to previous error
14