]> git.proxmox.com Git - rustc.git/blame - src/tools/clippy/tests/ui/module_inception.stderr
New upstream version 1.72.1+dfsg1
[rustc.git] / src / tools / clippy / tests / ui / module_inception.stderr
CommitLineData
f20569fa
XL
1error: module has the same name as its containing module
2 --> $DIR/module_inception.rs:5:9
3 |
fe692bf9
FG
4LL | / pub mod bar2 {
5LL | | pub mod foo2 {}
f20569fa
XL
6LL | | }
7 | |_________^
8 |
9 = note: `-D clippy::module-inception` implied by `-D warnings`
10
11error: module has the same name as its containing module
12 --> $DIR/module_inception.rs:10:5
13 |
fe692bf9
FG
14LL | / pub mod foo2 {
15LL | | pub mod bar2 {}
16LL | | }
17 | |_____^
18
19error: module has the same name as its containing module
20 --> $DIR/module_inception.rs:17:9
21 |
22LL | / mod bar {
23LL | | mod foo {}
24LL | | }
25 | |_________^
26
27error: module has the same name as its containing module
28 --> $DIR/module_inception.rs:22:5
29 |
f20569fa
XL
30LL | / mod foo {
31LL | | mod bar {}
32LL | | }
33 | |_____^
34
fe692bf9 35error: aborting due to 4 previous errors
f20569fa 36