fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0382]: use of partially moved value 2 --> $DIR/copy-and-move-mixed.rs:12:9 3 | 4LL | let a @ NC(b, c @ NC(d, e)) = NC(C, NC(C, C)); 5 | ^ - value partially moved here 6 | | 7 | value used here after partial move 8 | 9 = note: partial move occurs because value has type `NC<C, C>`, which does not implement the `Copy` trait 10help: borrow this binding in the pattern to avoid moving the value 11 | 12LL | let ref a @ NC(b, ref c @ NC(d, e)) = NC(C, NC(C, C)); 13 | +++ +++ 14 15error: aborting due to previous error 16 17For more information about this error, try `rustc --explain E0382`.