]> git.lizzy.rs Git - rust.git/blob - src/test/ui/borrowck/reassignment_immutable_fields.stderr
Merge commit 'c4416f20dcaec5d93077f72470e83e150fb923b1' into sync-rustfmt
[rust.git] / src / test / ui / borrowck / reassignment_immutable_fields.stderr
1 error[E0381]: assign to part of possibly-uninitialized variable: `x`
2   --> $DIR/reassignment_immutable_fields.rs:7:5
3    |
4 LL |     x.0 = 1;
5    |     ^^^^^^^ use of possibly-uninitialized `x`
6
7 error[E0381]: assign to part of possibly-uninitialized variable: `x`
8   --> $DIR/reassignment_immutable_fields.rs:15:5
9    |
10 LL |     x.0 = 1;
11    |     ^^^^^^^ use of possibly-uninitialized `x`
12
13 error: aborting due to 2 previous errors
14
15 For more information about this error, try `rustc --explain E0381`.