]> git.proxmox.com Git - rustc.git/blame - src/test/ui/issue-40402-ref-hints/issue-40402-2.stderr
New upstream version 1.20.0+dfsg1
[rustc.git] / src / test / ui / issue-40402-ref-hints / issue-40402-2.stderr
CommitLineData
7cac9316
XL
1error[E0507]: cannot move out of indexed content
2 --> $DIR/issue-40402-2.rs:15:18
3 |
415 | 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 10error: aborting due to previous error
7cac9316 11