1 error[E0594]: cannot assign to `x.a`, as `x` is not declared as mutable
2 --> $DIR/reassignment_immutable_fields_overlapping.rs:22:5
5 | - help: consider changing this to be mutable: `mut x`
6 LL | x.a = 1; //~ ERROR
7 | ^^^^^^^ cannot assign
9 error[E0594]: cannot assign to `x.b`, as `x` is not declared as mutable
10 --> $DIR/reassignment_immutable_fields_overlapping.rs:23:5
13 | - help: consider changing this to be mutable: `mut x`
14 LL | x.a = 1; //~ ERROR
15 LL | x.b = 22; //~ ERROR
16 | ^^^^^^^^ cannot assign
18 error: aborting due to 2 previous errors
20 For more information about this error, try `rustc --explain E0594`.