1 error[E0507]: cannot move out of indexed content
2 --> $DIR/issue-40402-2.rs:5:18
4 LL | let (a, b) = x[0];
5 | - - ^^^^ cannot move out of indexed content
7 | | ...and here (use `ref b` or `ref mut b`)
8 | hint: to prevent move, use `ref a` or `ref mut a`
10 error: aborting due to previous error
12 For more information about this error, try `rustc --explain E0507`.