]> git.lizzy.rs Git - rust.git/blob - src/test/ui/test-attrs/inaccessible-test-modules.stderr
Rollup merge of #102574 - aDotInTheVoid:const_collections_with_hasher, r=oli-obk...
[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    |     ----^^^^^
15    |     |
16    |     no `test` in the root
17    |     help: a similar name exists in the module: `test`
18
19 error: aborting due to 2 previous errors
20
21 For more information about this error, try `rustc --explain E0432`.