1error: module has the same name as its containing module 2 --> $DIR/module_inception.rs:5:9 3 | 4LL | / mod bar { 5LL | | mod foo {} 6LL | | } 7 | |_________^ 8 | 9 = note: `-D clippy::module-inception` implied by `-D warnings` 10 11error: module has the same name as its containing module 12 --> $DIR/module_inception.rs:10:5 13 | 14LL | / mod foo { 15LL | | mod bar {} 16LL | | } 17 | |_____^ 18 19error: aborting due to 2 previous errors 20 21