1 error[E0161]: cannot move a value of type `str`
2 --> $DIR/dst-index.rs:31:5
5 | ^^^^ the size of `str` cannot be statically determined
7 error[E0161]: cannot move a value of type `dyn Debug`
8 --> $DIR/dst-index.rs:34:5
11 | ^^^^ the size of `dyn Debug` cannot be statically determined
13 error[E0507]: cannot move out of index of `S`
14 --> $DIR/dst-index.rs:31:5
17 | ^^^^ move occurs because value has type `str`, which does not implement the `Copy` trait
19 error[E0507]: cannot move out of index of `T`
20 --> $DIR/dst-index.rs:34:5
23 | ^^^^ move occurs because value has type `dyn Debug`, which does not implement the `Copy` trait
25 error: aborting due to 4 previous errors
27 Some errors have detailed explanations: E0161, E0507.
28 For more information about an error, try `rustc --explain E0161`.