add regression test
This commit is contained in:
parent
4687eebc28
commit
2bd2fc9418
1 changed files with 13 additions and 0 deletions
13
src/test/ui/issues/issue-56128.rs
Normal file
13
src/test/ui/issues/issue-56128.rs
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
// Regression test for #56128. When this `pub(super) use...` gets
|
||||
// exploded in the HIR, we were not handling ids correctly.
|
||||
|
||||
mod bar {
|
||||
pub(super) use self::baz::{x, y};
|
||||
|
||||
mod baz {
|
||||
pub fn x() { }
|
||||
pub fn y() { }
|
||||
}
|
||||
}
|
||||
|
||||
fn main() { }
|
||||
Loading…
Add table
Add a link
Reference in a new issue