summary refs log tree commit diff
path: root/src/test/ui/issues/issue-13407.rs
blob: 322e67cc131802f629084e4ab96694ef628ba26b (plain)
1
2
3
4
5
6
7
8
9
10
mod A {
    struct C;
}

fn main() {
    A::C = 1;
    //~^ ERROR: invalid left-hand side expression
    //~| ERROR: mismatched types
    //~| ERROR: struct `C` is private
}