]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-56128.rs
Enable full revision in const generics ui tests
[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 // 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() { }