1 error[E0432]: unresolved import `self::*`
2 --> $DIR/issue-31212.rs:5:13
5 | ^^^^^^^ cannot glob-import a module into itself
7 error[E0425]: cannot find function `f` in module `foo`
8 --> $DIR/issue-31212.rs:9:10
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`.