1 error[E0594]: cannot assign to `t.0`, as `t` is not declared as mutable
2 --> $DIR/issue-54499-field-mutation-of-moved-out.rs:13:9
5 | ^^^^^^^^^^ cannot assign
7 help: consider changing this to be mutable
9 LL | let mut t: Tuple = (S(0), 0);
12 error[E0382]: assign to part of moved value: `t`
13 --> $DIR/issue-54499-field-mutation-of-moved-out.rs:13:9
15 LL | let t: Tuple = (S(0), 0);
16 | - move occurs because `t` has type `(S, i32)`, which does not implement the `Copy` trait
20 | ^^^^^^^^^^ value partially assigned here after move
22 error[E0594]: cannot assign to `t.1`, as `t` is not declared as mutable
23 --> $DIR/issue-54499-field-mutation-of-moved-out.rs:16:9
26 | ^^^^^^^ cannot assign
28 help: consider changing this to be mutable
30 LL | let mut t: Tuple = (S(0), 0);
33 error[E0594]: cannot assign to `u.0`, as `u` is not declared as mutable
34 --> $DIR/issue-54499-field-mutation-of-moved-out.rs:24:9
37 | ^^^^^^^^^^ cannot assign
39 help: consider changing this to be mutable
41 LL | let mut u: Tpair = Tpair(S(0), 0);
44 error[E0382]: assign to part of moved value: `u`
45 --> $DIR/issue-54499-field-mutation-of-moved-out.rs:24:9
47 LL | let u: Tpair = Tpair(S(0), 0);
48 | - move occurs because `u` has type `Tpair`, which does not implement the `Copy` trait
52 | ^^^^^^^^^^ value partially assigned here after move
54 error[E0594]: cannot assign to `u.1`, as `u` is not declared as mutable
55 --> $DIR/issue-54499-field-mutation-of-moved-out.rs:27:9
58 | ^^^^^^^ cannot assign
60 help: consider changing this to be mutable
62 LL | let mut u: Tpair = Tpair(S(0), 0);
65 error[E0594]: cannot assign to `v.x`, as `v` is not declared as mutable
66 --> $DIR/issue-54499-field-mutation-of-moved-out.rs:35:9
69 | ^^^^^^^^^^ cannot assign
71 help: consider changing this to be mutable
73 LL | let mut v: Spair = Spair { x: S(0), y: 0 };
76 error[E0382]: assign to part of moved value: `v`
77 --> $DIR/issue-54499-field-mutation-of-moved-out.rs:35:9
79 LL | let v: Spair = Spair { x: S(0), y: 0 };
80 | - move occurs because `v` has type `Spair`, which does not implement the `Copy` trait
84 | ^^^^^^^^^^ value partially assigned here after move
86 error[E0594]: cannot assign to `v.y`, as `v` is not declared as mutable
87 --> $DIR/issue-54499-field-mutation-of-moved-out.rs:38:9
90 | ^^^^^^^ cannot assign
92 help: consider changing this to be mutable
94 LL | let mut v: Spair = Spair { x: S(0), y: 0 };
97 error: aborting due to 9 previous errors
99 Some errors have detailed explanations: E0382, E0594.
100 For more information about an error, try `rustc --explain E0382`.