fork/rust

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

borsAuto merge of #67350 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum73528e339aa

1.40.0
606 B21 linesraw
1error[E0432]: unresolved import `self::*`
2  --> $DIR/issue-8208.rs:1:5
3   |
4LL | use self::*;
5   |     ^^^^^^^ cannot glob-import a module into itself
6
7error[E0432]: unresolved import `foo::*`
8  --> $DIR/issue-8208.rs:5:9
9   |
10LL |     use foo::*;
11   |         ^^^^^^ cannot glob-import a module into itself
12
13error[E0432]: unresolved import `super::bar::*`
14  --> $DIR/issue-8208.rs:9:13
15   |
16LL |         use super::bar::*;
17   |             ^^^^^^^^^^^^^ cannot glob-import a module into itself
18
19error: aborting due to 3 previous errors
20
21For more information about this error, try `rustc --explain E0432`.