We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 44511d5 commit dda1c8dCopy full SHA for dda1c8d
tests/ui/issue_2356.stderr
@@ -1,8 +1,8 @@
1
error: this loop could be written as a `for` loop
2
- --> $DIR/issue_2356.rs:15:29
+ --> $DIR/issue_2356.rs:15:9
3
|
4
LL | while let Some(e) = it.next() {
5
- | ^^^^^^^^^ help: try: `for e in it { .. }`
+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `for e in it`
6
7
note: the lint level is defined here
8
--> $DIR/issue_2356.rs:1:9
0 commit comments