1 error[E0432]: unresolved import `foo`
2 --> $DIR/unresolved-import.rs:1:5
5 | ^^^ maybe a missing crate `foo`?
7 error[E0432]: unresolved import `bar::Baz`
8 --> $DIR/unresolved-import.rs:4:5
10 LL | use bar::Baz as x;
13 | | help: a similar name exists in the module: `Bar`
16 error[E0432]: unresolved import `food::baz`
17 --> $DIR/unresolved-import.rs:9:5
22 | | help: a similar name exists in the module: `bag`
25 error[E0432]: unresolved import `food::beens`
26 --> $DIR/unresolved-import.rs:14:12
28 LL | use food::{beens as Foo};
31 | no `beens` in `food`
32 | help: a similar name exists in the module: `beans`
34 error[E0432]: unresolved import `MyEnum`
35 --> $DIR/unresolved-import.rs:38:9
38 | ^^^^^^ help: a similar path exists: `self::MyEnum`
40 error[E0432]: unresolved import `Enum`
41 --> $DIR/unresolved-import.rs:48:9
44 | ^^^^ help: a similar path exists: `self::Enum`
46 error: aborting due to 6 previous errors
48 For more information about this error, try `rustc --explain E0432`.