fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
516 B20 linesraw
1error[E0432]: unresolved import `main`
2  --> $DIR/inaccessible-test-modules.rs:5:5
3   |
4LL | use main as x;
5   |     ^^^^^^^^^ no `main` in the root
6
7error[E0432]: unresolved import `test`
8  --> $DIR/inaccessible-test-modules.rs:6:5
9   |
10LL | use test as y;
11   |     ^^^^^^^^^ no `test` in the root
12   |
13help: consider importing this module instead
14   |
15LL | use test::test as y;
16   |     ~~~~~~~~~~~~~~~
17
18error: aborting due to 2 previous errors
19
20For more information about this error, try `rustc --explain E0432`.