error[E0432]: unresolved import `main` --> $DIR/import3.rs:2:5 | LL | use main::bar; | ^^^^ maybe a missing crate `main`? | = help: consider adding `extern crate main` to use the `main` crate error: aborting due to previous error For more information about this error, try `rustc --explain E0432`.