]> git.lizzy.rs Git - rust.git/blob - tests/ui/module_inception.stderr
Update tests to new format of multiline errors
[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 8 | |             mod foo {}
6 9 | |         }
7   | |_________^
8   |
9 note: lint level defined here
10  --> $DIR/module_inception.rs:3:9
11   |
12 3 | #![deny(module_inception)]
13   |         ^^^^^^^^^^^^^^^^
14
15 error: module has the same name as its containing module
16   --> $DIR/module_inception.rs:12:5
17    |
18 12 | /     mod foo {
19 13 | |         mod bar {}
20 14 | |     }
21    | |_____^
22
23 error: aborting due to 2 previous errors
24