summaryrefslogtreecommitdiffstats
path: root/tests/ui/imports/import.stderr
blob: 797712e2db99e92f0af176e0a94f534fe1579eae (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
28
29
30
31
error[E0432]: unresolved import `zed::baz`
  --> $DIR/import.rs:2:5
   |
LL | use zed::baz;
   |     ^^^^^---
   |     |    |
   |     |    help: a similar name exists in the module: `bar`
   |     no `baz` in `zed`

error[E0432]: unresolved import `foo`
  --> $DIR/import.rs:10:9
   |
LL |     use foo;
   |         ^^^ no `foo` in the root

error[E0603]: unresolved item import `foo` is private
  --> $DIR/import.rs:15:10
   |
LL |     zed::foo();
   |          ^^^ private unresolved item import
   |
note: the unresolved item import `foo` is defined here
  --> $DIR/import.rs:10:9
   |
LL |     use foo;
   |         ^^^

error: aborting due to 3 previous errors

Some errors have detailed explanations: E0432, E0603.
For more information about an error, try `rustc --explain E0432`.