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
+ | ^^^^^ value used here after partial move
|
= note: move occurs because `line2.middle` has type `Point`, which does not implement the `Copy` trait
| ----- value moved here
...
LL | consume(node) + r //~ ERROR use of partially moved value: `node`
- | ^^^^ value used here after move
+ | ^^^^ value used here after partial move
|
= note: move occurs because value has type `std::boxed::Box<List>`, which does not implement the `Copy` trait
| - value moved here
...
LL | touch(&x); //~ ERROR use of partially moved value: `x`
- | ^^ value borrowed here after move
+ | ^^ value borrowed here after partial move
|
= note: move occurs because `x.f` has type `std::string::String`, which does not implement the `Copy` trait
| - value moved here
...
LL | x; //~ ERROR use of partially moved value
- | ^ value used here after move
+ | ^ value used here after partial move
|
= note: move occurs because value has type `std::vec::Vec<i32>`, which does not implement the `Copy` trait
| -- value moved here
LL | drop_unsized(y);
LL | println!("{}", &x);
- | ^^ value borrowed here after move
+ | ^^ value borrowed here after partial move
|
= note: move occurs because `*x` has type `str`, which does not implement the `Copy` trait
| -- value moved here
LL | y.foo();
LL | println!("{}", &x);
- | ^^ value borrowed here after move
+ | ^^ value borrowed here after partial move
|
= note: move occurs because `*x` has type `str`, which does not implement the `Copy` trait
LL | x.foo();
| - value moved here
LL | println!("{}", &x);
- | ^^ value borrowed here after move
+ | ^^ value borrowed here after partial move
|
= note: move occurs because `*x` has type `str`, which does not implement the `Copy` trait
LL | let _y = *x;
| -- value moved here
LL | drop_unsized(x); //~ERROR use of moved value
- | ^ value used here after move
+ | ^ value used here after partial move
|
= note: move occurs because `*x` has type `str`, which does not implement the `Copy` trait