1 error[E0432]: unresolved import `foo::f`
2 --> $DIR/issue-38293.rs:16:14
4 LL | use foo::f::{self}; //~ ERROR unresolved import `foo::f`
7 error[E0423]: expected function, found module `baz`
8 --> $DIR/issue-38293.rs:25:5
10 LL | baz(); //~ ERROR expected function, found module `baz`
12 help: possible better candidate is found in another module, you can import it into scope
17 error: aborting due to 2 previous errors
19 Some errors occurred: E0423, E0432.
20 For more information about an error, try `rustc --explain E0423`.