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

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

use a::*;

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

fn c() {}

fn main() { }