4bf0685cca
This fixes some ordering problems around assignment expressions.
10 lines
346 B
Plaintext
10 lines
346 B
Plaintext
error[E0381]: use of possibly-uninitialized variable: `origin`
|
|
--> $DIR/borrowck-init-in-fru.rs:9:14
|
|
|
|
|
LL | origin = Point { x: 10, ..origin };
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^ use of possibly-uninitialized `origin.y`
|
|
|
|
error: aborting due to previous error
|
|
|
|
For more information about this error, try `rustc --explain E0381`.
|