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
|
|
|
|
|
|
|
|
LL | use foo::bar; //~ ERROR unresolved import `foo` [E0432]
|
2018-11-13 17:52:26 -06:00
|
|
|
| ^^^ maybe a missing `extern 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
|
|
|
|
|
|
|
|
LL | use bar::Baz as x; //~ ERROR unresolved import `bar::Baz` [E0432]
|
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
|
|
|
|
|
|
|
|
LL | use food::baz; //~ ERROR unresolved import `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
|
|
|
|
|
|
|
|
LL | use food::{beens as Foo}; //~ ERROR unresolved import `food::beens` [E0432]
|
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
|
|
|
|
|
|
|
|
LL | use MyEnum::*; //~ ERROR unresolved import `MyEnum` [E0432]
|
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
|
|
|
|
|
|
|
|
LL | use Enum::*; //~ ERROR unresolved import `Enum` [E0432]
|
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`.
|