Skip to content

Commit

Permalink
add regression test
Browse files Browse the repository at this point in the history
  • Loading branch information
nikomatsakis committed Nov 21, 2018
1 parent 4687eeb commit 2bd2fc9
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/test/ui/issues/issue-56128.rs
@@ -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() { }

0 comments on commit 2bd2fc9

Please sign in to comment.