]> git.lizzy.rs Git - rust.git/blobdiff - tests/ui/module_inception.stderr
iterate List by value
[rust.git] / tests / ui / module_inception.stderr
index c1e6d0a6e629d43fcd5f2b1b2453fba5780bf398..77564dce9eb48fd5a3524f220004d92d2b0f1c08 100644 (file)
@@ -1,19 +1,19 @@
 error: module has the same name as its containing module
-  --> $DIR/module_inception.rs:17:9
+  --> $DIR/module_inception.rs:5:9
    |
-17 | /         mod bar {
-18 | |             mod foo {}
-19 | |         }
+LL | /         mod bar {
+LL | |             mod foo {}
+LL | |         }
    | |_________^
    |
    = note: `-D clippy::module-inception` implied by `-D warnings`
 
 error: module has the same name as its containing module
-  --> $DIR/module_inception.rs:22:5
+  --> $DIR/module_inception.rs:10:5
    |
-22 | /     mod foo {
-23 | |         mod bar {}
-24 | |     }
+LL | /     mod foo {
+LL | |         mod bar {}
+LL | |     }
    | |_____^
 
 error: aborting due to 2 previous errors