summaryrefslogtreecommitdiffstats
path: root/src/test/ui/issues/issue-13407.rs
blob: 7ea81ffb59e7eebf4d17239c6e9b577703484deb (plain)
1
2
3
4
5
6
7
8
9
mod A {
    struct C;
}

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