blob: b8e1c4ecb188eb873a220db2ff7bea503a5d3289 [file] [log] [blame] [edit]
//! Regression test for https://github.com/rust-lang/rust/issues/13407
mod A {
struct C;
}
fn main() {
A::C = 1;
//~^ ERROR: mismatched types
//~| ERROR: unit struct `C` is private
}