1 use foo
::bar
; //~ ERROR unresolved import `foo` [E0432]
2 //~^ maybe a missing crate `foo`?
3 //~| HELP consider adding `extern crate foo` to use the `foo` crate
5 use bar
::Baz
as x
; //~ ERROR unresolved import `bar::Baz` [E0432]
7 //~| HELP a similar name exists in the module
10 use food
::baz
; //~ ERROR unresolved import `food::baz`
11 //~| no `baz` in `food`
12 //~| HELP a similar name exists in the module
15 use food
::{beens as Foo}
; //~ ERROR unresolved import `food::beens` [E0432]
16 //~| no `beens` in `food`
17 //~| HELP a similar name exists in the module
25 pub use self::zug
::baz
::{self as bag, Foobar as beans}
;
39 use MyEnum
::*; //~ ERROR unresolved import `MyEnum` [E0432]
40 //~| HELP a similar path exists
41 //~| SUGGESTION self::MyEnum
49 use Enum
::*; //~ ERROR unresolved import `Enum` [E0432]
50 //~| HELP a similar path exists
51 //~| SUGGESTION self::Enum