summary refs log tree commit diff
path: root/src/test/ui/borrowck/issue-54499-field-mutation-marks-mut-as-used.stderr
blob: 22c6c3964edc1087dc55632dde661d71dd6bd05c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
error[E0381]: assign to part of possibly-uninitialized variable: `t`
  --> $DIR/issue-54499-field-mutation-marks-mut-as-used.rs:12:9
   |
LL |         t.0 = S(1);
   |         ^^^^^^^^^^ use of possibly-uninitialized `t`

error[E0381]: assign to part of possibly-uninitialized variable: `u`
  --> $DIR/issue-54499-field-mutation-marks-mut-as-used.rs:20:9
   |
LL |         u.0 = S(1);
   |         ^^^^^^^^^^ use of possibly-uninitialized `u`

error[E0381]: assign to part of possibly-uninitialized variable: `v`
  --> $DIR/issue-54499-field-mutation-marks-mut-as-used.rs:28:9
   |
LL |         v.x = S(1);
   |         ^^^^^^^^^^ use of possibly-uninitialized `v`

error: aborting due to 3 previous errors

For more information about this error, try `rustc --explain E0381`.