11error: it is more concise to loop over containers instead of using explicit iteration methods
2- --> $DIR/explicit_into_iter_loop.rs:9 :18
2+ --> $DIR/explicit_into_iter_loop.rs:10 :18
33 |
44LL | for _ in iterator.into_iter() {}
55 | ^^^^^^^^^^^^^^^^^^^^ help: to write this more concisely, try: `iterator`
@@ -8,31 +8,31 @@ LL | for _ in iterator.into_iter() {}
88 = help: to override `-D warnings` add `#[allow(clippy::explicit_into_iter_loop)]`
99
1010error: it is more concise to loop over containers instead of using explicit iteration methods
11- --> $DIR/explicit_into_iter_loop.rs:22 :14
11+ --> $DIR/explicit_into_iter_loop.rs:23 :14
1212 |
1313LL | for _ in t.into_iter() {}
1414 | ^^^^^^^^^^^^^ help: to write this more concisely, try: `&t`
1515
1616error: it is more concise to loop over containers instead of using explicit iteration methods
17- --> $DIR/explicit_into_iter_loop.rs:25 :14
17+ --> $DIR/explicit_into_iter_loop.rs:26 :14
1818 |
1919LL | for _ in r.into_iter() {}
2020 | ^^^^^^^^^^^^^ help: to write this more concisely, try: `r`
2121
2222error: it is more concise to loop over containers instead of using explicit iteration methods
23- --> $DIR/explicit_into_iter_loop.rs:33 :14
23+ --> $DIR/explicit_into_iter_loop.rs:34 :14
2424 |
2525LL | for _ in mr.into_iter() {}
2626 | ^^^^^^^^^^^^^^ help: to write this more concisely, try: `&*mr`
2727
2828error: it is more concise to loop over containers instead of using explicit iteration methods
29- --> $DIR/explicit_into_iter_loop.rs:45 :14
29+ --> $DIR/explicit_into_iter_loop.rs:46 :14
3030 |
3131LL | for _ in u.into_iter() {}
3232 | ^^^^^^^^^^^^^ help: to write this more concisely, try: `&mut u`
3333
3434error: it is more concise to loop over containers instead of using explicit iteration methods
35- --> $DIR/explicit_into_iter_loop.rs:48 :14
35+ --> $DIR/explicit_into_iter_loop.rs:49 :14
3636 |
3737LL | for _ in mr.into_iter() {}
3838 | ^^^^^^^^^^^^^^ help: to write this more concisely, try: `&mut *mr`
0 commit comments