Skip to content

Commit dda1c8d

Browse files
committed
Update issue_2356.stderr reference file
1 parent 44511d5 commit dda1c8d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/ui/issue_2356.stderr

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
error: this loop could be written as a `for` loop
2-
--> $DIR/issue_2356.rs:15:29
2+
--> $DIR/issue_2356.rs:15:9
33
|
44
LL | while let Some(e) = it.next() {
5-
| ^^^^^^^^^ help: try: `for e in it { .. }`
5+
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `for e in it`
66
|
77
note: the lint level is defined here
88
--> $DIR/issue_2356.rs:1:9

0 commit comments

Comments
 (0)