blob: 60acffdcb06f8e410e38a6181ab13310d6346b1c [file] [log] [blame]
error[E0508]: cannot move out of type `[T]`, a non-copy slice
--> $DIR/issue-12567.rs:16:16
|
LL | (&[], &[hd, ..]) | (&[hd, ..], &[])
| ^--^^^^^
| ||
| |hint: to prevent move, use `ref hd` or `ref mut hd`
| cannot move out of here
error[E0508]: cannot move out of type `[T]`, a non-copy slice
--> $DIR/issue-12567.rs:16:30
|
LL | (&[], &[hd, ..]) | (&[hd, ..], &[])
| ^--^^^^^
| ||
| |hint: to prevent move, use `ref hd` or `ref mut hd`
| cannot move out of here
error[E0508]: cannot move out of type `[T]`, a non-copy slice
--> $DIR/issue-12567.rs:20:11
|
LL | (&[hd1, ..], &[hd2, ..])
| ^---^^^^^
| ||
| |hint: to prevent move, use `ref hd1` or `ref mut hd1`
| cannot move out of here
error[E0508]: cannot move out of type `[T]`, a non-copy slice
--> $DIR/issue-12567.rs:20:23
|
LL | (&[hd1, ..], &[hd2, ..])
| ^---^^^^^
| ||
| |hint: to prevent move, use `ref hd2` or `ref mut hd2`
| cannot move out of here
error: aborting due to 4 previous errors
For more information about this error, try `rustc --explain E0508`.