mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 07:14:28 +00:00
32 lines
788 B
Plaintext
32 lines
788 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();
|
|
| ^^^ 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`.
|