]>
Commit | Line | Data |
---|---|---|
7cac9316 XL |
1 | error[E0507]: cannot move out of indexed content |
2 | --> $DIR/issue-40402-2.rs:15:18 | |
3 | | | |
4 | 15 | let (a, b) = x[0]; | |
5 | | - - ^^^^ cannot move out of indexed content | |
6 | | | | | |
7 | | | ...and here (use `ref b` or `ref mut b`) | |
8 | | hint: to prevent move, use `ref a` or `ref mut a` | |
9 | ||
041b39d2 | 10 | error: aborting due to previous error |
7cac9316 | 11 |