about summary refs log tree commit diff
path: root/src/test/ui/issues/issue-13407.rs
blob: fa53d55f5b3d7240b7dc9a97224ee00976c38c2c (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 of assignment
    //~| ERROR: mismatched types
    //~| ERROR: struct `C` is private
}