rust/tests/ui/invalid-module-declaration/invalid-module-declaration.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
467 B
Plaintext
Raw Normal View History

2017-11-28 02:14:24 +00:00
error[E0583]: file not found for module `baz`
2020-03-09 10:16:00 +00:00
--> $DIR/auxiliary/foo/bar.rs:1:1
2017-04-24 14:26:04 +00:00
|
2018-02-23 00:42:32 +00:00
LL | pub mod baz;
2020-03-09 10:16:00 +00:00
| ^^^^^^^^^^^^
2017-04-24 14:26:04 +00:00
|
= help: to create the module `baz`, create file "$DIR/auxiliary/foo/bar/baz.rs" or "$DIR/auxiliary/foo/bar/baz/mod.rs"
= note: if there is a `mod baz` elsewhere in the crate already, import it with `use crate::...` instead
2017-04-24 14:26:04 +00:00
error: aborting due to 1 previous error
2017-04-24 14:26:04 +00:00
2018-03-03 14:59:40 +00:00
For more information about this error, try `rustc --explain E0583`.