2019-09-01 12:09:59 -05:00
|
|
|
error[E0381]: assign to part of possibly-uninitialized variable: `x`
|
2019-04-22 02:40:08 -05:00
|
|
|
--> $DIR/assign_mutable_fields.rs:9:5
|
2018-08-14 07:24:44 -05:00
|
|
|
|
|
2019-04-22 02:40:08 -05:00
|
|
|
LL | x.0 = 1;
|
2019-09-01 12:09:59 -05:00
|
|
|
| ^^^^^^^ use of possibly-uninitialized `x`
|
2018-08-14 07:24:44 -05:00
|
|
|
|
2019-09-01 12:09:59 -05:00
|
|
|
error[E0381]: assign to part of possibly-uninitialized variable: `x`
|
2019-04-22 02:40:08 -05:00
|
|
|
--> $DIR/assign_mutable_fields.rs:17:5
|
2018-08-14 07:24:44 -05:00
|
|
|
|
|
2019-04-22 02:40:08 -05:00
|
|
|
LL | x.0 = 1;
|
2019-09-01 12:09:59 -05:00
|
|
|
| ^^^^^^^ use of possibly-uninitialized `x`
|
2018-08-14 07:24:44 -05:00
|
|
|
|
2019-04-22 02:40:08 -05:00
|
|
|
error: aborting due to 2 previous errors
|
2018-08-14 07:24:44 -05:00
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0381`.
|