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