1 error[E0508]: cannot move out of type `[T]`, a non-copy slice
2 --> $DIR/issue-12567.rs:2: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
15 error[E0508]: cannot move out of type `[T]`, a non-copy slice
16 --> $DIR/issue-12567.rs:2:11
19 | ^^^^^^^^ cannot move out of here
21 LL | (&[], &[hd, ..]) | (&[hd, ..], &[])
23 LL | => println!("one empty"),
24 LL | (&[hd1, ..], &[hd2, ..])
27 = note: move occurs because these variables have types that don't implement the `Copy` trait
29 error: aborting due to 2 previous errors
31 For more information about this error, try `rustc --explain E0508`.