rust/src/test/ui/import.stderr

26 lines
722 B
Plaintext
Raw Normal View History

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