1 error[E0432]: unresolved import `foo`
2 --> $DIR/unresolved-import.rs:1:5
5 | ^^^ maybe a missing crate `foo`?
7 = help: consider adding `extern crate foo` to use the `foo` crate
9 error[E0432]: unresolved import `bar::Baz`
10 --> $DIR/unresolved-import.rs:5:5
12 LL | use bar::Baz as x;
15 | | help: a similar name exists in the module: `Bar`
18 error[E0432]: unresolved import `food::baz`
19 --> $DIR/unresolved-import.rs:10:5
24 | | help: a similar name exists in the module: `bag`
27 error[E0432]: unresolved import `food::beens`
28 --> $DIR/unresolved-import.rs:15:12
30 LL | use food::{beens as Foo};
33 | no `beens` in `food`
34 | help: a similar name exists in the module: `beans`
36 error[E0432]: unresolved import `MyEnum`
37 --> $DIR/unresolved-import.rs:39:9
40 | ^^^^^^ help: a similar path exists: `self::MyEnum`
42 error[E0432]: unresolved import `Enum`
43 --> $DIR/unresolved-import.rs:49:9
46 | ^^^^ help: a similar path exists: `self::Enum`
48 error: aborting due to 6 previous errors
50 For more information about this error, try `rustc --explain E0432`.