rust/tests/ui/issues/issue-56128.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

16 lines
276 B
Rust
Raw Normal View History

2018-11-21 13:20:03 -06:00
// Regression test for #56128. When this `pub(super) use...` gets
// exploded in the HIR, we were not handling ids correctly.
2018-11-21 17:50:10 -06:00
//
// check-pass
2018-11-21 13:20:03 -06:00
mod bar {
pub(super) use self::baz::{x, y};
mod baz {
pub fn x() { }
pub fn y() { }
}
}
fn main() { }