summaryrefslogtreecommitdiffstats
path: root/tests/ui/use/use-nested-groups-error.rs
blob: d8b189d19611a79da777e3ab575bb8748f1ef1ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
mod a {
    pub mod b1 {
        pub enum C2 {}
    }

    pub enum B2 {}
}

use a::{b1::{C1, C2}, B2};
//~^ ERROR unresolved import `a::b1::C1`

fn main() {
    let _: C2;
    let _: B2;
}