rust/tests/ui/imports/import.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

32 lines
788 B
Plaintext
Raw Normal View History

2018-08-08 12:28:26 +00:00
error[E0432]: unresolved import `zed::baz`
2018-12-25 15:56:47 +00:00
--> $DIR/import.rs:2:5
2018-08-08 12:28:26 +00:00
|
2019-03-09 12:03:44 +00:00
LL | use zed::baz;
2019-01-16 20:30:41 +00:00
| ^^^^^---
| | |
| | help: a similar name exists in the module: `bar`
| no `baz` in `zed`
2018-08-08 12:28:26 +00:00
error[E0432]: unresolved import `foo`
2019-01-16 20:30:41 +00:00
--> $DIR/import.rs:10:9
2018-08-08 12:28:26 +00:00
|
2019-03-09 12:03:44 +00:00
LL | use foo;
2018-08-08 12:28:26 +00:00
| ^^^ no `foo` in the root
error[E0603]: unresolved item import `foo` is private
2019-01-16 20:30:41 +00:00
--> $DIR/import.rs:15:10
2018-08-08 12:28:26 +00:00
|
2019-03-09 12:03:44 +00:00
LL | zed::foo();
| ^^^ private unresolved item import
|
note: the unresolved item import `foo` is defined here
--> $DIR/import.rs:10:9
|
LL | use foo;
| ^^^
2018-08-08 12:28:26 +00:00
error: aborting due to 3 previous errors
Some errors have detailed explanations: E0432, E0603.
2018-08-08 12:28:26 +00:00
For more information about an error, try `rustc --explain E0432`.