]> git.lizzy.rs Git - rust.git/blob - tests/ui/module_inception.stderr
remove all //~ from tests
[rust.git] / tests / ui / module_inception.stderr
1 error: module has the same name as its containing module
2  --> $DIR/module_inception.rs:7:9
3   |
4 7 |           mod bar {
5   |  _________^ starting here...
6 8 | |             mod foo {}
7 9 | |         }
8   | |_________^ ...ending here
9   |
10 note: lint level defined here
11  --> $DIR/module_inception.rs:3:9
12   |
13 3 | #![deny(module_inception)]
14   |         ^^^^^^^^^^^^^^^^
15
16 error: module has the same name as its containing module
17   --> $DIR/module_inception.rs:12:5
18    |
19 12 |       mod foo {
20    |  _____^ starting here...
21 13 | |         mod bar {}
22 14 | |     }
23    | |_____^ ...ending here
24
25 error: aborting due to 2 previous errors
26