1 2 3 4 5 6 7
use bar::Foo; //~ ERROR unresolved import `bar::Foo` [E0432] //~^ no `Foo` in `bar` mod bar { use Foo; } fn main() {}