summaryrefslogtreecommitdiffstats
path: root/src/tools/clippy/tests/ui/issue_2356.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/clippy/tests/ui/issue_2356.stderr')
-rw-r--r--src/tools/clippy/tests/ui/issue_2356.stderr4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tools/clippy/tests/ui/issue_2356.stderr b/src/tools/clippy/tests/ui/issue_2356.stderr
index a24b0b32e..d04b49e52 100644
--- a/src/tools/clippy/tests/ui/issue_2356.stderr
+++ b/src/tools/clippy/tests/ui/issue_2356.stderr
@@ -1,11 +1,11 @@
error: this loop could be written as a `for` loop
- --> $DIR/issue_2356.rs:18:9
+ --> $DIR/issue_2356.rs:17:9
|
LL | while let Some(e) = it.next() {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `for e in it`
|
note: the lint level is defined here
- --> $DIR/issue_2356.rs:2:9
+ --> $DIR/issue_2356.rs:1:9
|
LL | #![deny(clippy::while_let_on_iterator)]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^