In ui/borrowck/borrowck-uninit-field-access.ast.nll.stderr, the below error should have the label value used here after move changed to value used here after partial move.
|
error[E0382]: use of moved value: `line2` |
|
--> $DIR/borrowck-uninit-field-access.rs:44:5 |
|
| |
|
LL | let _moved = (line2.origin, line2.middle); |
|
| ------------ value moved here |
|
LL | line2.consume(); //[ast]~ ERROR use of partially moved value: `line2` [E0382] |
|
| ^^^^^ value used here after move |
|
| |
|
= note: move occurs because `line2.middle` has type `Point`, which does not implement the `Copy` trait |
In
ui/borrowck/borrowck-uninit-field-access.ast.nll.stderr, the below error should have the labelvalue used here after movechanged tovalue used here after partial move.rust/src/test/ui/borrowck/borrowck-uninit-field-access.ast.nll.stderr
Lines 17 to 25 in 850fc6a