summary refs log tree commit diff
path: root/src/test/ui/issues/issue-8208.rs
blob: ad94f99098db8f8efd1763cd9360d34bf79db2d9 (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]
             //~^ 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() {
}