summaryrefslogtreecommitdiffstats
path: root/src/test/ui/test-attrs/inaccessible-test-modules.stderr
blob: 0c16ecd4c862e3355f7c27fa2ce233c80a75c776 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
error[E0432]: unresolved import `main`
  --> $DIR/inaccessible-test-modules.rs:5:5
   |
LL | use main as x;
   |     ----^^^^^
   |     |
   |     no `main` in the root
   |     help: a similar name exists in the module: `main`

error[E0432]: unresolved import `test`
  --> $DIR/inaccessible-test-modules.rs:6:5
   |
LL | use test as y;
   |     ^^^^^^^^^ no `test` in the root
   |
help: a similar name exists in the module
   |
LL | use test as y;
   |     ~~~~
help: consider importing this module instead
   |
LL | use test::test;
   |     ~~~~~~~~~~~

error: aborting due to 2 previous errors

For more information about this error, try `rustc --explain E0432`.