fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error: module has the same name as its containing module 2 --> $DIR/module_inception.rs:5:9 3 | 4LL | / pub mod bar2 { 5LL | | 6LL | | 7LL | | pub mod foo2 {} 8LL | | } 9 | |_________^ 10 | 11 = note: `-D clippy::module-inception` implied by `-D warnings` 12 = help: to override `-D warnings` add `#[allow(clippy::module_inception)]` 13 14error: module has the same name as its containing module 15 --> $DIR/module_inception.rs:12:5 16 | 17LL | / pub mod foo2 { 18LL | | 19LL | | pub mod bar2 {} 20LL | | } 21 | |_____^ 22 23error: module has the same name as its containing module 24 --> $DIR/module_inception.rs:20:9 25 | 26LL | / mod bar { 27LL | | 28LL | | mod foo {} 29LL | | } 30 | |_________^ 31 32error: module has the same name as its containing module 33 --> $DIR/module_inception.rs:26:5 34 | 35LL | / mod foo { 36LL | | 37LL | | mod bar {} 38LL | | } 39 | |_____^ 40 41error: aborting due to 4 previous errors 42