2019-08-25 15:03:24 -05:00
|
|
|
error[E0432]: unresolved import `main`
|
|
|
|
--> $DIR/inaccessible-test-modules.rs:5:5
|
|
|
|
|
|
|
|
|
LL | use main as x;
|
2022-12-27 01:17:22 -06:00
|
|
|
| ^^^^^^^^^ no `main` in the root
|
2019-08-25 15:03:24 -05:00
|
|
|
|
|
|
|
error[E0432]: unresolved import `test`
|
|
|
|
--> $DIR/inaccessible-test-modules.rs:6:5
|
|
|
|
|
|
|
|
|
LL | use test as y;
|
2022-10-09 22:14:32 -05:00
|
|
|
| ^^^^^^^^^ no `test` in the root
|
|
|
|
|
|
|
|
|
help: consider importing this module instead
|
|
|
|
|
|
2022-12-27 01:05:45 -06:00
|
|
|
LL | use test::test as y;
|
2023-01-16 20:35:47 -06:00
|
|
|
| ~~~~~~~~~~~~~~~
|
2019-08-25 15:03:24 -05:00
|
|
|
|
|
|
|
error: aborting due to 2 previous errors
|
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0432`.
|