1 error[E0594]: cannot assign to `x.0`, as `x` is not declared as mutable
2 --> $DIR/reassignment_immutable_fields_twice.rs:17:5
4 LL | let x: (u32, u32);
5 | - help: consider changing this to be mutable: `mut x`
7 LL | x.0 = 1; //~ ERROR
8 | ^^^^^^^ cannot assign
10 error[E0594]: cannot assign to `x.0`, as `x` is not declared as mutable
11 --> $DIR/reassignment_immutable_fields_twice.rs:22:5
13 LL | let x: (u32, u32);
14 | - help: consider changing this to be mutable: `mut x`
15 LL | x.0 = 1; //~ ERROR
16 | ^^^^^^^ cannot assign
18 error[E0594]: cannot assign to `x.0`, as `x` is not declared as mutable
19 --> $DIR/reassignment_immutable_fields_twice.rs:23:5
21 LL | let x: (u32, u32);
22 | - help: consider changing this to be mutable: `mut x`
23 LL | x.0 = 1; //~ ERROR
24 LL | x.0 = 22; //~ ERROR
25 | ^^^^^^^^ cannot assign
27 error[E0594]: cannot assign to `x.1`, as `x` is not declared as mutable
28 --> $DIR/reassignment_immutable_fields_twice.rs:24:5
30 LL | let x: (u32, u32);
31 | - help: consider changing this to be mutable: `mut x`
33 LL | x.1 = 44; //~ ERROR
34 | ^^^^^^^^ cannot assign
36 error: aborting due to 4 previous errors
38 For more information about this error, try `rustc --explain E0594`.