1 error: module has the same name as its containing module
2 --> $DIR/module_inception.rs:7:9
4 7 | mod bar { //~ ERROR module has the same name as its containing module
5 | _________^ starting here...
8 | |_________^ ...ending here
10 note: lint level defined here
11 --> $DIR/module_inception.rs:3:9
13 3 | #![deny(module_inception)]
16 error: module has the same name as its containing module
17 --> $DIR/module_inception.rs:12:5
19 12 | mod foo { //~ ERROR module has the same name as its containing module
20 | _____^ starting here...
23 | |_____^ ...ending here
25 error: aborting due to 2 previous errors