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

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

10 lines
129 B
Rust
Raw Normal View History

mod A {
struct C;
}
fn main() {
A::C = 1;
//~^ ERROR: mismatched types
//~| ERROR: unit struct `C` is private
}