1 error[E0161]: cannot move a value of type X: the size of X cannot be statically determined
2 --> $DIR/issue-30355.rs:15:6
7 error[E0161]: cannot move a value of type [u8]: the size of [u8] cannot be statically determined
8 --> $DIR/issue-30355.rs:15:8
13 error[E0508]: cannot move out of type `[u8]`, a non-copy slice
14 --> $DIR/issue-30355.rs:15:8
17 | ^^ cannot move out of here
19 error: aborting due to 3 previous errors
21 Some errors occurred: E0161, E0508.
22 For more information about an error, try `rustc --explain E0161`.