]> git.lizzy.rs Git - rust.git/blobdiff - tests/ui/issue_2356.stderr
Auto merge of #3603 - xfix:random-state-lint, r=phansch
[rust.git] / tests / ui / issue_2356.stderr
index fe2d9d45b771504f3d92b8db932f2add6a1f05cc..3759990031248f7f6d2577702fc2851de4a53e2a 100644 (file)
@@ -1,13 +1,13 @@
 error: this loop could be written as a `for` loop
-  --> $DIR/issue_2356.rs:17:29
+  --> $DIR/issue_2356.rs:24:29
    |
-17 |         while let Some(e) = it.next() {
+LL |         while let Some(e) = it.next() {
    |                             ^^^^^^^^^ help: try: `for e in it { .. }`
    |
 note: lint level defined here
-  --> $DIR/issue_2356.rs:3:9
+  --> $DIR/issue_2356.rs:10:9
    |
- | #![deny(clippy::while_let_on_iterator)]
+LL | #![deny(clippy::while_let_on_iterator)]
    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 
 error: aborting due to previous error