]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-56128.rs
add regression test
[rust.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 mod bar {
5     pub(super) use self::baz::{x, y};
6
7     mod baz {
8         pub fn x() { }
9         pub fn y() { }
10     }
11 }
12
13 fn main() { }