rust/src/test/ui/borrowck/assign_mutable_fields.stderr

22 lines
678 B
Plaintext
Raw Normal View History

error[E0381]: use of possibly uninitialized variable: `x.0`
2018-12-25 09:56:47 -06:00
--> $DIR/assign_mutable_fields.rs:11:10
|
LL | drop(x.0); //~ ERROR
| ^^^ use of possibly uninitialized `x.0`
error[E0381]: use of possibly uninitialized variable: `x.1`
2018-12-25 09:56:47 -06:00
--> $DIR/assign_mutable_fields.rs:12:10
|
LL | drop(x.1); //~ ERROR
| ^^^ use of possibly uninitialized `x.1`
error[E0381]: use of possibly uninitialized variable: `x`
2018-12-25 09:56:47 -06:00
--> $DIR/assign_mutable_fields.rs:19:10
|
LL | drop(x); //~ ERROR
| ^ use of possibly uninitialized `x`
error: aborting due to 3 previous errors
For more information about this error, try `rustc --explain E0381`.