fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0161]: cannot move a value of type `[i32]` 2 --> $DIR/issue-115809.rs:5:12 3 | 4LL | match [a[..]] { 5 | ^^^^^ the size of `[i32]` cannot be statically determined 6 7error[E0508]: cannot move out of type `[i32]`, a non-copy slice 8 --> $DIR/issue-115809.rs:5:12 9 | 10LL | match [a[..]] { 11 | ^^^^^ 12 | | 13 | cannot move out of here 14 | move occurs because value has type `[i32]`, which does not implement the `Copy` trait 15 16error: aborting due to 2 previous errors 17 18Some errors have detailed explanations: E0161, E0508. 19For more information about an error, try `rustc --explain E0161`.