rust/src/test/ui/import.stderr
2020-01-16 21:59:11 +03:00

32 lines
796 B
Plaintext

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();
| ^^^ this unresolved item import is private
|
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`.