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