blob: f6d88f830f25da6f5cb826719e1cd9b37990ba79 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
use self::*; //~ ERROR: unresolved import `self::*` [E0432]
//~^ NOTE cannot glob-import a module into itself
mod foo {
use crate::foo::*; //~ ERROR: unresolved import `crate::foo::*` [E0432]
//~^ NOTE cannot glob-import a module into itself
mod bar {
use super::bar::*;
//~^ ERROR: unresolved import `super::bar::*` [E0432]
//~| NOTE cannot glob-import a module into itself
}
}
fn main() {
}
|