fork/rust
git clone https://git.julia.blue/fork/rust
73528e339aa
1.40.0
1error[E0161]: cannot move a value of type str: the size of str cannot be statically determined 2 --> $DIR/dst-index.rs:31:5 3 | 4LL | S[0]; 5 | ^^^^ 6 7error[E0161]: cannot move a value of type dyn std::fmt::Debug: the size of dyn std::fmt::Debug cannot be statically determined 8 --> $DIR/dst-index.rs:34:5 9 | 10LL | T[0]; 11 | ^^^^ 12 13error[E0507]: cannot move out of index of `S` 14 --> $DIR/dst-index.rs:31:5 15 | 16LL | S[0]; 17 | ^^^^ move occurs because value has type `str`, which does not implement the `Copy` trait 18 19error[E0507]: cannot move out of index of `T` 20 --> $DIR/dst-index.rs:34:5 21 | 22LL | T[0]; 23 | ^^^^ move occurs because value has type `dyn std::fmt::Debug`, which does not implement the `Copy` trait 24 25error: aborting due to 4 previous errors 26 27Some errors have detailed explanations: E0161, E0507. 28For more information about an error, try `rustc --explain E0161`.