]> git.proxmox.com Git - rustc.git/blob - src/tools/clippy/tests/ui/module_inception.stderr
bump version to 1.80.1+dfsg1-1~bpo12+pve1
[rustc.git] / src / tools / clippy / tests / ui / module_inception.stderr
1 error: module has the same name as its containing module
2 --> tests/ui/module_inception.rs:5:9
3 |
4 LL | / pub mod bar2 {
5 LL | |
6 LL | |
7 LL | | pub mod foo2 {}
8 LL | | }
9 | |_________^
10 |
11 = note: `-D clippy::module-inception` implied by `-D warnings`
12 = help: to override `-D warnings` add `#[allow(clippy::module_inception)]`
13
14 error: module has the same name as its containing module
15 --> tests/ui/module_inception.rs:12:5
16 |
17 LL | / pub mod foo2 {
18 LL | |
19 LL | | pub mod bar2 {}
20 LL | | }
21 | |_____^
22
23 error: module has the same name as its containing module
24 --> tests/ui/module_inception.rs:20:9
25 |
26 LL | / mod bar {
27 LL | |
28 LL | | mod foo {}
29 LL | | }
30 | |_________^
31
32 error: module has the same name as its containing module
33 --> tests/ui/module_inception.rs:26:5
34 |
35 LL | / mod foo {
36 LL | |
37 LL | | mod bar {}
38 LL | | }
39 | |_____^
40
41 error: aborting due to 4 previous errors
42