2018-08-08 07:28:26 -05:00
|
|
|
error[E0432]: unresolved import `foo`
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/unresolved-import.rs:3: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`
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/unresolved-import.rs:6:5
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
|
LL | use bar::Baz as x; //~ ERROR unresolved import `bar::Baz` [E0432]
|
|
|
|
| ^^^^^^^^^^^^^ no `Baz` in `bar`. Did you mean to use `Bar`?
|
|
|
|
|
|
|
|
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`
|
|
|
|
| ^^^^^^^^^ no `baz` in `food`. Did you mean to use `bag`?
|
|
|
|
|
|
|
|
error[E0432]: unresolved import `food::beens`
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/unresolved-import.rs:12:12
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
|
LL | use food::{beens as Foo}; //~ ERROR unresolved import `food::beens` [E0432]
|
|
|
|
| ^^^^^^^^^^^^ no `beens` in `food`. Did you mean to use `beans`?
|
|
|
|
|
|
|
|
error[E0432]: unresolved import `MyEnum`
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/unresolved-import.rs:34:9
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
|
LL | use MyEnum::*; //~ ERROR unresolved import `MyEnum` [E0432]
|
2018-11-13 17:52:26 -06:00
|
|
|
| ^^^^^^ did you mean `self::MyEnum`?
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
error[E0432]: unresolved import `Enum`
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/unresolved-import.rs:43:9
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
|
LL | use Enum::*; //~ ERROR unresolved import `Enum` [E0432]
|
2018-11-13 17:52:26 -06:00
|
|
|
| ^^^^ did you mean `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`.
|