about summary refs log tree commit diff
path: root/tests/ui/imports/shadow-glob-module-resolution-1.rs
blob: ba1e65cddc6523bc1876850c9f3843e5b8d2daca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// https://github.com/rust-lang/rust/issues/124490

mod a {
    pub mod b {
        pub mod c {}
    }
}

use a::*;

use b::c;
//~^ ERROR: cannot determine resolution for the import
//~| ERROR: cannot determine resolution for the import
//~| ERROR: unresolved import `b::c`
use c as b;

fn main() {}