Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
issues
/
issue-56128.rs
blob: cc170f60250ff90b475db3a021712bc82ad18aa8 [
file
] [
log
] [
blame
] [
edit
]
// Regression test for #56128. When this `pub(super) use...` gets
// exploded in the HIR, we were not handling ids correctly.
//
//@ check-pass
mod
bar
{
pub
(
super
)
use
self
::
baz
::{
x
,
y
};
mod
baz
{
pub
fn
x
()
{
}
pub
fn
y
()
{
}
}
}
fn
main
()
{
}