]> git.proxmox.com Git - rustc.git/blob - src/test/ui/issues/issue-56128.rs
New upstream version 1.60.0+dfsg1
[rustc.git] / src / test / ui / issues / issue-56128.rs
1 // Regression test for #56128. When this `pub(super) use...` gets
2 // exploded in the HIR, we were not handling ids correctly.
3 //
4 // check-pass
5
6 mod bar {
7 pub(super) use self::baz::{x, y};
8
9 mod baz {
10 pub fn x() { }
11 pub fn y() { }
12 }
13 }
14
15 fn main() { }