mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-10 15:14:29 +00:00
Update issue_2356.stderr reference file
This commit is contained in:
parent
44511d5ee6
commit
dda1c8d8af
1 changed files with 2 additions and 2 deletions
|
@ -1,8 +1,8 @@
|
||||||
error: this loop could be written as a `for` loop
|
error: this loop could be written as a `for` loop
|
||||||
--> $DIR/issue_2356.rs:15:29
|
--> $DIR/issue_2356.rs:15:9
|
||||||
|
|
|
|
||||||
LL | while let Some(e) = it.next() {
|
LL | while let Some(e) = it.next() {
|
||||||
| ^^^^^^^^^ help: try: `for e in it { .. }`
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `for e in it`
|
||||||
|
|
|
|
||||||
note: the lint level is defined here
|
note: the lint level is defined here
|
||||||
--> $DIR/issue_2356.rs:1:9
|
--> $DIR/issue_2356.rs:1:9
|
||||||
|
|
Loading…
Reference in a new issue