summaryrefslogtreecommitdiffstats
path: root/src/test/ui/issues/issue-56128.rs
blob: 10b50943c23a41291a8e524e13d0451ba7eff738 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Regression test for #56128. When this `pub(super) use...` gets
// exploded in the HIR, we were not handling ids correctly.
//
// check-pass

mod bar {
    pub(super) use self::baz::{x, y};

    mod baz {
        pub fn x() { }
        pub fn y() { }
    }
}

fn main() { }