2018-08-08 14:28:26 +02:00
|
|
|
error[E0432]: unresolved import `main`
|
2025-03-29 02:41:32 +03:00
|
|
|
--> $DIR/import3.rs:1:5
|
2018-08-08 14:28:26 +02:00
|
|
|
|
|
|
|
|
|
LL | use main::bar;
|
2024-11-18 03:42:16 +00:00
|
|
|
| ^^^^ use of unresolved module or unlinked crate `main`
|
2022-05-22 11:48:35 +09:00
|
|
|
|
|
2024-11-18 03:42:16 +00:00
|
|
|
help: you might be missing a crate named `main`, add it to your project and import it in your code
|
2024-07-24 19:31:02 +00:00
|
|
|
|
|
|
|
|
|
LL + extern crate main;
|
|
|
|
|
|
|
2018-08-08 14:28:26 +02:00
|
|
|
|
2023-11-21 15:44:16 +00:00
|
|
|
error: aborting due to 1 previous error
|
2018-08-08 14:28:26 +02:00
|
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0432`.
|