]> git.lizzy.rs Git - rust.git/blob - src/test/ui/borrowck/issue-54499-field-mutation-of-never-init.stderr
Auto merge of #98212 - petrochenkov:addlinkargs, r=lqd
[rust.git] / src / test / ui / borrowck / issue-54499-field-mutation-of-never-init.stderr
1 error[E0381]: assign to part of possibly-uninitialized variable: `t`
2   --> $DIR/issue-54499-field-mutation-of-never-init.rs:12:9
3    |
4 LL |         t.0 = S(1);
5    |         ^^^^^^^^^^ use of possibly-uninitialized `t`
6
7 error[E0381]: assign to part of possibly-uninitialized variable: `u`
8   --> $DIR/issue-54499-field-mutation-of-never-init.rs:20:9
9    |
10 LL |         u.0 = S(1);
11    |         ^^^^^^^^^^ use of possibly-uninitialized `u`
12
13 error[E0381]: assign to part of possibly-uninitialized variable: `v`
14   --> $DIR/issue-54499-field-mutation-of-never-init.rs:28:9
15    |
16 LL |         v.x = S(1);
17    |         ^^^^^^^^^^ use of possibly-uninitialized `v`
18
19 error: aborting due to 3 previous errors
20
21 For more information about this error, try `rustc --explain E0381`.