1 error[E0508]: cannot move out of type `[A]`, a non-copy slice
2 --> $DIR/move-out-of-slice-1.rs:7:11
5 | ^ cannot move out of here
10 | move occurs because `a` has type `A`, which does not implement the `Copy` trait
12 help: consider borrowing the pattern binding
14 LL | box [ref a] => {},
17 error: aborting due to previous error
19 For more information about this error, try `rustc --explain E0508`.