@@ -10,14 +10,7 @@ LL | => println!("one empty"),
1010LL | (&[hd1, ..], &[hd2, ..])
1111 | --- ...and here
1212 |
13- note: move occurs because these variables have types that don't implement the `Copy` trait
14- --> $DIR/issue-12567.rs:8:17
15- |
16- LL | (&[], &[hd, ..]) | (&[hd, ..], &[])
17- | ^^
18- LL | => println!("one empty"),
19- LL | (&[hd1, ..], &[hd2, ..])
20- | ^^^
13+ = note: move occurs because these variables have types that don't implement the `Copy` trait
2114
2215error[E0508]: cannot move out of type `[T]`, a non-copy slice
2316 --> $DIR/issue-12567.rs:4:11
@@ -31,14 +24,7 @@ LL | => println!("one empty"),
3124LL | (&[hd1, ..], &[hd2, ..])
3225 | --- ...and here
3326 |
34- note: move occurs because these variables have types that don't implement the `Copy` trait
35- --> $DIR/issue-12567.rs:8:17
36- |
37- LL | (&[], &[hd, ..]) | (&[hd, ..], &[])
38- | ^^
39- LL | => println!("one empty"),
40- LL | (&[hd1, ..], &[hd2, ..])
41- | ^^^
27+ = note: move occurs because these variables have types that don't implement the `Copy` trait
4228
4329error: aborting due to 2 previous errors
4430
0 commit comments