1 error[E0432]: unresolved import `self::*`
2 --> $DIR/issue-31212.rs:15:13
4 LL | pub use self::*; //~ ERROR unresolved
5 | ^^^^^^^ Cannot glob-import a module into itself.
7 error[E0425]: cannot find function `f` in module `foo`
8 --> $DIR/issue-31212.rs:19:10
10 LL | foo::f(); //~ ERROR cannot find function `f` in module `foo`
11 | ^ not found in `foo`
13 error: aborting due to 2 previous errors
15 Some errors occurred: E0425, E0432.
16 For more information about an error, try `rustc --explain E0425`.