mirror of
https://github.com/rust-lang/rust.git
synced 2025-09-28 05:34:45 +00:00
15 lines
402 B
Plaintext
15 lines
402 B
Plaintext
error[E0432]: unresolved import `main`
|
|
--> $DIR/import3.rs:1:5
|
|
|
|
|
LL | use main::bar;
|
|
| ^^^^ use of unresolved module or unlinked crate `main`
|
|
|
|
|
help: you might be missing a crate named `main`, add it to your project and import it in your code
|
|
|
|
|
LL + extern crate main;
|
|
|
|
|
|
|
error: aborting due to 1 previous error
|
|
|
|
For more information about this error, try `rustc --explain E0432`.
|