1 error[E0508]: cannot move out of type `[T]`, a non-copy slice
2 --> $DIR/issue-12567.rs:16:16
4 LL | (&[], &[hd, ..]) | (&[hd, ..], &[])
7 | |hint: to prevent move, use `ref hd` or `ref mut hd`
8 | cannot move out of here
10 error[E0508]: cannot move out of type `[T]`, a non-copy slice
11 --> $DIR/issue-12567.rs:16:30
13 LL | (&[], &[hd, ..]) | (&[hd, ..], &[])
16 | |hint: to prevent move, use `ref hd` or `ref mut hd`
17 | cannot move out of here
19 error[E0508]: cannot move out of type `[T]`, a non-copy slice
20 --> $DIR/issue-12567.rs:20:11
22 LL | (&[hd1, ..], &[hd2, ..])
25 | |hint: to prevent move, use `ref hd1` or `ref mut hd1`
26 | cannot move out of here
28 error[E0508]: cannot move out of type `[T]`, a non-copy slice
29 --> $DIR/issue-12567.rs:20:23
31 LL | (&[hd1, ..], &[hd2, ..])
34 | |hint: to prevent move, use `ref hd2` or `ref mut hd2`
35 | cannot move out of here
37 error: aborting due to 4 previous errors
39 For more information about this error, try `rustc --explain E0508`.