fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0507]: cannot move out of index of `Vec<(String, String)>` 2 --> $DIR/issue-40402-2.rs:5:18 3 | 4LL | let (a, b) = x[0]; 5 | - - ^^^^ 6 | | | 7 | | ...and here 8 | data moved here 9 | 10 = note: move occurs because these variables have types that don't implement the `Copy` trait 11help: consider borrowing here 12 | 13LL | let (a, b) = &x[0]; 14 | + 15 16error: aborting due to previous error 17 18For more information about this error, try `rustc --explain E0507`.