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