blob: 7ea81ffb59e7eebf4d17239c6e9b577703484deb [file] [log] [blame]
mod A {
struct C;
}
fn main() {
A::C = 1;
//~^ ERROR: invalid left-hand side of assignment
//~| ERROR: struct `C` is private
}