1 error[E0508]: cannot move out of type `[A]`, a non-copy slice
2 --> $DIR/move-out-of-slice-1.rs:8:13
7 | |hint: to prevent move, use `ref a` or `ref mut a`
8 | cannot move out of here
10 error: aborting due to previous error
12 For more information about this error, try `rustc --explain E0508`.