rust/src/test/ui/invalid-module-declaration/invalid-module-declaration.stderr
Guillaume Gomez 3f97b2a65c Add ui tests
2017-04-25 12:21:28 +02:00

15 lines
365 B
Plaintext

error: cannot declare a new module at this location
--> $DIR/auxiliary/foo/bar.rs:11:9
|
11 | pub mod baz;
| ^^^
|
note: maybe move this module `$DIR/auxiliary/foo/bar.rs` to its own directory via `$DIR/auxiliary/foo/bar/mod.rs`
--> $DIR/auxiliary/foo/bar.rs:11:9
|
11 | pub mod baz;
| ^^^
error: aborting due to previous error