1 error[E0508]: cannot move out of type `[T]`, a non-copy slice
2 --> $DIR/issue-12567.rs:4:11
5 | ^^^^^^^^ cannot move out of here
7 LL | (&[], &[hd, ..]) | (&[hd, ..], &[])
9 LL | => println!("one empty"),
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:8:17
16 LL | (&[], &[hd, ..]) | (&[hd, ..], &[])
18 LL | => println!("one empty"),
19 LL | (&[hd1, ..], &[hd2, ..])
22 error[E0508]: cannot move out of type `[T]`, a non-copy slice
23 --> $DIR/issue-12567.rs:4:11
26 | ^^^^^^^^ cannot move out of here
28 LL | (&[], &[hd, ..]) | (&[hd, ..], &[])
30 LL | => println!("one empty"),
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:8:17
37 LL | (&[], &[hd, ..]) | (&[hd, ..], &[])
39 LL | => println!("one empty"),
40 LL | (&[hd1, ..], &[hd2, ..])
43 error: aborting due to 2 previous errors
45 For more information about this error, try `rustc --explain E0508`.