]> git.lizzy.rs Git - rust.git/blob - tests/ui/test-attrs/inaccessible-test-modules.stderr
Rollup merge of #106717 - klensy:typo, r=lcnr
[rust.git] / tests / 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    |     ^^^^^^^^^ no `main` in the root
6
7 error[E0432]: unresolved import `test`
8   --> $DIR/inaccessible-test-modules.rs:6:5
9    |
10 LL | use test as y;
11    |     ^^^^^^^^^ no `test` in the root
12    |
13 help: consider importing this module instead
14    |
15 LL | use test::test as y;
16    |     ~~~~~~~~~~~~~~~~
17
18 error: aborting due to 2 previous errors
19
20 For more information about this error, try `rustc --explain E0432`.