rust/tests/ui/parser/mod_file_not_exist.stderr

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

22 lines
899 B
Plaintext
Raw Permalink Normal View History

error[E0583]: file not found for module `not_a_real_file`
2024-12-26 03:24:30 +00:00
--> $DIR/mod_file_not_exist.rs:1:1
|
LL | mod not_a_real_file;
2020-03-09 10:16:00 +00:00
| ^^^^^^^^^^^^^^^^^^^^
|
= help: to create the module `not_a_real_file`, create file "$DIR/not_a_real_file.rs" or "$DIR/not_a_real_file/mod.rs"
= note: if there is a `mod not_a_real_file` elsewhere in the crate already, import it with `use crate::...` instead
error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mod_file_aux`
2024-12-26 03:24:30 +00:00
--> $DIR/mod_file_not_exist.rs:5:16
2020-03-08 11:19:27 +00:00
|
LL | assert_eq!(mod_file_aux::bar(), 10);
| ^^^^^^^^^^^^ use of unresolved module or unlinked crate `mod_file_aux`
|
= help: you might be missing a crate named `mod_file_aux`
2020-03-08 11:19:27 +00:00
error: aborting due to 2 previous errors
2020-03-08 11:19:27 +00:00
Some errors have detailed explanations: E0433, E0583.
For more information about an error, try `rustc --explain E0433`.