fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #69444 - pietroalbini:stable-next-final-v2-new, r=pietroalbinif3e1a954d2e

1.41.1
478 B16 linesraw
1error[E0432]: unresolved import `self::*`
2  --> $DIR/issue-31212.rs:5:13
3   |
4LL |     pub use self::*;
5   |             ^^^^^^^ cannot glob-import a module into itself
6
7error[E0425]: cannot find function `f` in module `foo`
8  --> $DIR/issue-31212.rs:9:10
9   |
10LL |     foo::f();
11   |          ^ not found in `foo`
12
13error: aborting due to 2 previous errors
14
15Some errors have detailed explanations: E0425, E0432.
16For more information about an error, try `rustc --explain E0425`.