error: module has the same name as its containing module --> $DIR/module_inception.rs:17:9 | 17 | / mod bar { 18 | | mod foo {} 19 | | } | |_________^ | = 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 | 22 | / mod foo { 23 | | mod bar {} 24 | | } | |_____^ error: aborting due to 2 previous errors