fork/rust
git clone https://git.julia.blue/fork/rust
73528e339aa
1.40.0
1error[E0507]: cannot move out of index of `std::vec::Vec<(std::string::String, std::string::String)>` 2 --> $DIR/issue-40402-2.rs:5:18 3 | 4LL | let (a, b) = x[0]; 5 | - - ^^^^ help: consider borrowing here: `&x[0]` 6 | | | 7 | | ...and here 8 | data moved here 9 | 10note: move occurs because these variables have types that don't implement the `Copy` trait 11 --> $DIR/issue-40402-2.rs:5:10 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`.