]>
Commit | Line | Data |
---|---|---|
f20569fa XL |
1 | error: module has the same name as its containing module |
2 | --> $DIR/module_inception.rs:5:9 | |
3 | | | |
fe692bf9 FG |
4 | LL | / pub mod bar2 { |
5 | LL | | pub mod foo2 {} | |
f20569fa XL |
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 | | | |
fe692bf9 FG |
14 | LL | / pub mod foo2 { |
15 | LL | | pub mod bar2 {} | |
16 | LL | | } | |
17 | | |_____^ | |
18 | ||
19 | error: module has the same name as its containing module | |
20 | --> $DIR/module_inception.rs:17:9 | |
21 | | | |
22 | LL | / mod bar { | |
23 | LL | | mod foo {} | |
24 | LL | | } | |
25 | | |_________^ | |
26 | ||
27 | error: module has the same name as its containing module | |
28 | --> $DIR/module_inception.rs:22:5 | |
29 | | | |
f20569fa XL |
30 | LL | / mod foo { |
31 | LL | | mod bar {} | |
32 | LL | | } | |
33 | | |_____^ | |
34 | ||
fe692bf9 | 35 | error: aborting due to 4 previous errors |
f20569fa | 36 |