]> git.lizzy.rs Git - rust.git/blob - src/test/ui/borrowck/reassignment_immutable_fields.stderr
Sync portable-simd to rust-lang/portable-simd@72df4c45056a8bc0d1b3f06fdc828722177f0763
[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`.