]> 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 291e64bec6f4ca8de40cda5e1a8048dea7f23f80..3759990031248f7f6d2577702fc2851de4a53e2a 100644 (file)
@@ -1,13 +1,13 @@
 error: this loop could be written as a `for` loop
-  --> $DIR/issue_2356.rs:27:29
+  --> $DIR/issue_2356.rs:24:29
    |
-27 |         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:13:9
+  --> $DIR/issue_2356.rs:10:9
    |
-13 | #![deny(clippy::while_let_on_iterator)]
+LL | #![deny(clippy::while_let_on_iterator)]
    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 
 error: aborting due to previous error