mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 15:23:46 +00:00
22 lines
705 B
Plaintext
22 lines
705 B
Plaintext
|
error[E0432]: unresolved import `self::*`
|
||
|
--> $DIR/issue-8208.rs:11:5
|
||
|
|
|
||
|
LL | use self::*; //~ ERROR: unresolved import `self::*` [E0432]
|
||
|
| ^^^^^^^ Cannot glob-import a module into itself.
|
||
|
|
||
|
error[E0432]: unresolved import `foo::*`
|
||
|
--> $DIR/issue-8208.rs:15:9
|
||
|
|
|
||
|
LL | use foo::*; //~ ERROR: unresolved import `foo::*` [E0432]
|
||
|
| ^^^^^^ Cannot glob-import a module into itself.
|
||
|
|
||
|
error[E0432]: unresolved import `super::bar::*`
|
||
|
--> $DIR/issue-8208.rs:19:13
|
||
|
|
|
||
|
LL | use super::bar::*;
|
||
|
| ^^^^^^^^^^^^^ Cannot glob-import a module into itself.
|
||
|
|
||
|
error: aborting due to 3 previous errors
|
||
|
|
||
|
For more information about this error, try `rustc --explain E0432`.
|