@@ -43,69 +43,69 @@ LL | while let Some(_) = y.next() {
4343 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `for _ in y`
4444
4545error: this loop could be written as a `for` loop
46- --> $DIR/while_let_on_iterator.rs:193 :9
46+ --> $DIR/while_let_on_iterator.rs:191 :9
4747 |
4848LL | while let Some(m) = it.next() {
4949 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `for m in &mut it`
5050
5151error: this loop could be written as a `for` loop
52- --> $DIR/while_let_on_iterator.rs:204 :5
52+ --> $DIR/while_let_on_iterator.rs:202 :5
5353 |
5454LL | while let Some(n) = it.next() {
5555 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `for n in it`
5656
5757error: this loop could be written as a `for` loop
58- --> $DIR/while_let_on_iterator.rs:206 :9
58+ --> $DIR/while_let_on_iterator.rs:204 :9
5959 |
6060LL | while let Some(m) = it.next() {
6161 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `for m in it`
6262
6363error: this loop could be written as a `for` loop
64- --> $DIR/while_let_on_iterator.rs:215 :9
64+ --> $DIR/while_let_on_iterator.rs:213 :9
6565 |
6666LL | while let Some(m) = it.next() {
6767 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `for m in it`
6868
6969error: this loop could be written as a `for` loop
70- --> $DIR/while_let_on_iterator.rs:224 :9
70+ --> $DIR/while_let_on_iterator.rs:222 :9
7171 |
7272LL | while let Some(m) = it.next() {
7373 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `for m in &mut it`
7474
7575error: this loop could be written as a `for` loop
76- --> $DIR/while_let_on_iterator.rs:241 :9
76+ --> $DIR/while_let_on_iterator.rs:239 :9
7777 |
7878LL | while let Some(m) = it.next() {
7979 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `for m in &mut it`
8080
8181error: this loop could be written as a `for` loop
82- --> $DIR/while_let_on_iterator.rs:256 :13
82+ --> $DIR/while_let_on_iterator.rs:254 :13
8383 |
8484LL | while let Some(i) = self.0.next() {
8585 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `for i in &mut self.0`
8686
8787error: manual `!RangeInclusive::contains` implementation
88- --> $DIR/while_let_on_iterator.rs:257 :20
88+ --> $DIR/while_let_on_iterator.rs:255 :20
8989 |
9090LL | if i < 3 || i > 7 {
9191 | ^^^^^^^^^^^^^^ help: use: `!(3..=7).contains(&i)`
9292 |
9393 = note: `-D clippy::manual-range-contains` implied by `-D warnings`
9494
9595error: this loop could be written as a `for` loop
96- --> $DIR/while_let_on_iterator.rs:288 :13
96+ --> $DIR/while_let_on_iterator.rs:286 :13
9797 |
9898LL | while let Some(i) = self.0.0.0.next() {
9999 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `for i in &mut self.0.0.0`
100100
101101error: this loop could be written as a `for` loop
102- --> $DIR/while_let_on_iterator.rs:317 :5
102+ --> $DIR/while_let_on_iterator.rs:315 :5
103103 |
104104LL | while let Some(n) = it.next() {
105105 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `for n in &mut it`
106106
107107error: this loop could be written as a `for` loop
108- --> $DIR/while_let_on_iterator.rs:327 :5
108+ --> $DIR/while_let_on_iterator.rs:325 :5
109109 |
110110LL | while let Some(..) = it.next() {
111111 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `for _ in it`
0 commit comments