mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 01:04:03 +00:00
16 lines
277 B
Rust
16 lines
277 B
Rust
// 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() { }
|