summaryrefslogtreecommitdiffstats
path: root/tests/ui/imports/issue-32222.rs
blob: 4ed06bff803415667d04f8ee325a373c188feb64 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// check-pass

mod foo {
    pub fn bar() {}
}

pub use foo::*;
use b::bar;

mod foobar {
    use super::*;
}

mod a {
    pub mod bar {}
}

mod b {
    pub use a::bar;
}

fn main() {}