Skip to content

Commit 2bd2fc9

Browse files
committed
add regression test
1 parent 4687eeb commit 2bd2fc9

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

src/test/ui/issues/issue-56128.rs

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
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() { }

0 commit comments

Comments
 (0)