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