]> git.lizzy.rs Git - rust.git/blob - src/test/ui/test-attrs/inaccessible-test-modules.stderr
:arrow_up: rust-analyzer
[rust.git] / src / test / ui / test-attrs / inaccessible-test-modules.stderr
1 error[E0432]: unresolved import `main`
2   --> $DIR/inaccessible-test-modules.rs:5:5
3    |
4 LL | use main as x;
5    |     ----^^^^^
6    |     |
7    |     no `main` in the root
8    |     help: a similar name exists in the module: `main`
9
10 error[E0432]: unresolved import `test`
11   --> $DIR/inaccessible-test-modules.rs:6:5
12    |
13 LL | use test as y;
14    |     ^^^^^^^^^ no `test` in the root
15    |
16 help: a similar name exists in the module
17    |
18 LL | use test as y;
19    |     ~~~~
20 help: consider importing this module instead
21    |
22 LL | use test::test;
23    |     ~~~~~~~~~~~
24
25 error: aborting due to 2 previous errors
26
27 For more information about this error, try `rustc --explain E0432`.