2018-08-08 07:28:26 -05:00
|
|
|
error[E0432]: unresolved import `foo`
|
2019-01-16 14:30:41 -06:00
|
|
|
--> $DIR/unresolved-import.rs:1:5
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | use foo::bar;
|
2019-08-05 09:50:37 -05:00
|
|
|
| ^^^ maybe a missing crate `foo`?
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
error[E0432]: unresolved import `bar::Baz`
|
2019-01-16 14:30:41 -06:00
|
|
|
--> $DIR/unresolved-import.rs:4:5
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | use bar::Baz as x;
|
2019-01-16 14:30:41 -06:00
|
|
|
| ^^^^^---^^^^^
|
|
|
|
| | |
|
|
|
|
| | help: a similar name exists in the module: `Bar`
|
|
|
|
| no `Baz` in `bar`
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
error[E0432]: unresolved import `food::baz`
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/unresolved-import.rs:9:5
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | use food::baz;
|
2019-01-16 14:30:41 -06:00
|
|
|
| ^^^^^^---
|
|
|
|
| | |
|
|
|
|
| | help: a similar name exists in the module: `bag`
|
|
|
|
| no `baz` in `food`
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
error[E0432]: unresolved import `food::beens`
|
2019-01-16 14:30:41 -06:00
|
|
|
--> $DIR/unresolved-import.rs:14:12
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | use food::{beens as Foo};
|
2019-01-16 14:30:41 -06:00
|
|
|
| -----^^^^^^^
|
|
|
|
| |
|
|
|
|
| no `beens` in `food`
|
|
|
|
| help: a similar name exists in the module: `beans`
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
error[E0432]: unresolved import `MyEnum`
|
2019-01-16 14:30:41 -06:00
|
|
|
--> $DIR/unresolved-import.rs:38:9
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | use MyEnum::*;
|
2019-01-16 14:30:41 -06:00
|
|
|
| ^^^^^^ help: a similar path exists: `self::MyEnum`
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
error[E0432]: unresolved import `Enum`
|
2019-01-16 14:30:41 -06:00
|
|
|
--> $DIR/unresolved-import.rs:48:9
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | use Enum::*;
|
2019-01-16 14:30:41 -06:00
|
|
|
| ^^^^ help: a similar path exists: `self::Enum`
|
2018-08-08 07:28:26 -05:00
|
|
|
|
2018-08-22 18:19:38 -05:00
|
|
|
error: aborting due to 6 previous errors
|
2018-08-08 07:28:26 -05:00
|
|
|
|
2018-08-22 18:19:38 -05:00
|
|
|
For more information about this error, try `rustc --explain E0432`.
|