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
4 LL | let t: Tuple = (S(0), 0);
5 | - help: consider changing this to be mutable: `mut t`
8 | ^^^^^^^^^^ cannot assign
10 error[E0382]: assign to part of moved value: `t`
11 --> $DIR/issue-54499-field-mutation-of-moved-out.rs:13:9
13 LL | let t: Tuple = (S(0), 0);
14 | - move occurs because `t` has type `(S, i32)`, which does not implement the `Copy` trait
18 | ^^^^^^^^^^ value partially assigned here after move
20 error[E0594]: cannot assign to `t.1`, as `t` is not declared as mutable
21 --> $DIR/issue-54499-field-mutation-of-moved-out.rs:16:9
23 LL | let t: Tuple = (S(0), 0);
24 | - help: consider changing this to be mutable: `mut t`
27 | ^^^^^^^ cannot assign
29 error[E0594]: cannot assign to `u.0`, as `u` is not declared as mutable
30 --> $DIR/issue-54499-field-mutation-of-moved-out.rs:24:9
32 LL | let u: Tpair = Tpair(S(0), 0);
33 | - help: consider changing this to be mutable: `mut u`
36 | ^^^^^^^^^^ cannot assign
38 error[E0382]: assign to part of moved value: `u`
39 --> $DIR/issue-54499-field-mutation-of-moved-out.rs:24:9
41 LL | let u: Tpair = Tpair(S(0), 0);
42 | - move occurs because `u` has type `Tpair`, which does not implement the `Copy` trait
46 | ^^^^^^^^^^ value partially assigned here after move
48 error[E0594]: cannot assign to `u.1`, as `u` is not declared as mutable
49 --> $DIR/issue-54499-field-mutation-of-moved-out.rs:27:9
51 LL | let u: Tpair = Tpair(S(0), 0);
52 | - help: consider changing this to be mutable: `mut u`
55 | ^^^^^^^ cannot assign
57 error[E0594]: cannot assign to `v.x`, as `v` is not declared as mutable
58 --> $DIR/issue-54499-field-mutation-of-moved-out.rs:35:9
60 LL | let v: Spair = Spair { x: S(0), y: 0 };
61 | - help: consider changing this to be mutable: `mut v`
64 | ^^^^^^^^^^ cannot assign
66 error[E0382]: assign to part of moved value: `v`
67 --> $DIR/issue-54499-field-mutation-of-moved-out.rs:35:9
69 LL | let v: Spair = Spair { x: S(0), y: 0 };
70 | - move occurs because `v` has type `Spair`, which does not implement the `Copy` trait
74 | ^^^^^^^^^^ value partially assigned here after move
76 error[E0594]: cannot assign to `v.y`, as `v` is not declared as mutable
77 --> $DIR/issue-54499-field-mutation-of-moved-out.rs:38:9
79 LL | let v: Spair = Spair { x: S(0), y: 0 };
80 | - help: consider changing this to be mutable: `mut v`
83 | ^^^^^^^ cannot assign
85 error: aborting due to 9 previous errors
87 Some errors have detailed explanations: E0382, E0594.
88 For more information about an error, try `rustc --explain E0382`.