1 error[E0508]: cannot move out of type `[T]`, a non-copy slice
2 --> $DIR/issue-12567.rs:14:11
5 | ^^^^^^^^ cannot move out of here
6 LL | (&[], &[]) => println!("both empty"),
7 LL | (&[], &[hd, ..]) | (&[hd, ..], &[])
10 LL | (&[hd1, ..], &[hd2, ..])
13 note: move occurs because these variables have types that don't implement the `Copy` trait
14 --> $DIR/issue-12567.rs:16:17
16 LL | (&[], &[hd, ..]) | (&[hd, ..], &[])
19 LL | (&[hd1, ..], &[hd2, ..])
22 error[E0508]: cannot move out of type `[T]`, a non-copy slice
23 --> $DIR/issue-12567.rs:14:11
26 | ^^^^^^^^ cannot move out of here
27 LL | (&[], &[]) => println!("both empty"),
28 LL | (&[], &[hd, ..]) | (&[hd, ..], &[])
31 LL | (&[hd1, ..], &[hd2, ..])
34 note: move occurs because these variables have types that don't implement the `Copy` trait
35 --> $DIR/issue-12567.rs:16:17
37 LL | (&[], &[hd, ..]) | (&[hd, ..], &[])
40 LL | (&[hd1, ..], &[hd2, ..])
43 error: aborting due to 2 previous errors
45 For more information about this error, try `rustc --explain E0508`.