-
Notifications
You must be signed in to change notification settings - Fork 12.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b10c044
commit 3f97b2a
Showing
5 changed files
with
18 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
14 changes: 14 additions & 0 deletions
14
src/test/ui/invalid-module-declaration/invalid-module-declaration.stderr
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
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 | ||
|