blob: 246a68c14b620b8c933379c0a823b8c1a0cc8391 [file]
error[E0432]: unresolved import `main`
--> $DIR/inaccessible-test-modules.rs:6:5
|
LL | use main as x;
| ----^^^^^
| |
| no `main` in the root
error[E0432]: unresolved import `test`
--> $DIR/inaccessible-test-modules.rs:7:5
|
LL | use test as y;
| ----^^^^^
| |
| no `test` in the root
|
help: consider importing this module instead
|
LL | use test::test as y;
| ++++++
error: aborting due to 2 previous errors
For more information about this error, try `rustc --explain E0432`.