mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-14 01:25:54 +00:00
18 lines
433 B
Rust
18 lines
433 B
Rust
use self::*; //~ ERROR: unresolved import `self::*` [E0432]
|
|
//~^ cannot glob-import a module into itself
|
|
|
|
mod foo {
|
|
use foo::*; //~ ERROR: unresolved import `foo::*` [E0432]
|
|
//~^ cannot glob-import a module into itself
|
|
|
|
mod bar {
|
|
use super::bar::*;
|
|
//~^ ERROR: unresolved import `super::bar::*` [E0432]
|
|
//~| cannot glob-import a module into itself
|
|
}
|
|
|
|
}
|
|
|
|
fn main() {
|
|
}
|