1 warning: the feature `unsized_locals` is incomplete and may not be safe to use and/or cause compiler crashes
2 --> $DIR/move-out-of-slice-2.rs:1:12
4 LL | #![feature(unsized_locals)]
7 = note: see issue #48055 <https://github.com/rust-lang/rust/issues/48055> for more information
8 = note: `#[warn(incomplete_features)]` on by default
10 error[E0508]: cannot move out of type `[A]`, a non-copy slice
11 --> $DIR/move-out-of-slice-2.rs:10:11
14 | ^^ cannot move out of here
20 | move occurs because `a` has type `[A]`, which does not implement the `Copy` trait
22 error[E0508]: cannot move out of type `[A]`, a non-copy slice
23 --> $DIR/move-out-of-slice-2.rs:16:11
26 | ^^ cannot move out of here
28 LL | [_, _, b @ .., _] => {}
32 | move occurs because `b` has type `[A]`, which does not implement the `Copy` trait
34 error[E0508]: cannot move out of type `[C]`, a non-copy slice
35 --> $DIR/move-out-of-slice-2.rs:24:11
38 | ^^ cannot move out of here
44 | move occurs because `c` has type `[C]`, which does not implement the `Copy` trait
46 error[E0508]: cannot move out of type `[C]`, a non-copy slice
47 --> $DIR/move-out-of-slice-2.rs:30:11
50 | ^^ cannot move out of here
52 LL | [_, _, d @ .., _] => {}
56 | move occurs because `d` has type `[C]`, which does not implement the `Copy` trait
58 error: aborting due to 4 previous errors; 1 warning emitted
60 For more information about this error, try `rustc --explain E0508`.