2022-06-22 23:43:01 -05:00
|
|
|
error[E0161]: cannot move a value of type `str`
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/dst-index.rs:31:5
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
|
LL | S[0];
|
2022-06-22 23:43:01 -05:00
|
|
|
| ^^^^ the size of `str` cannot be statically determined
|
2018-08-08 07:28:26 -05:00
|
|
|
|
2022-06-22 23:43:01 -05:00
|
|
|
error[E0161]: cannot move a value of type `dyn Debug`
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/dst-index.rs:34:5
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
|
LL | T[0];
|
2022-06-22 23:43:01 -05:00
|
|
|
| ^^^^ the size of `dyn Debug` cannot be statically determined
|
2018-08-08 07:28:26 -05:00
|
|
|
|
2019-05-05 06:02:32 -05:00
|
|
|
error[E0507]: cannot move out of index of `S`
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/dst-index.rs:31:5
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
|
LL | S[0];
|
2019-05-05 06:02:32 -05:00
|
|
|
| ^^^^ move occurs because value has type `str`, which does not implement the `Copy` trait
|
2018-08-08 07:28:26 -05:00
|
|
|
|
2019-05-05 06:02:32 -05:00
|
|
|
error[E0507]: cannot move out of index of `T`
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/dst-index.rs:34:5
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
|
LL | T[0];
|
2020-09-02 02:40:56 -05:00
|
|
|
| ^^^^ move occurs because value has type `dyn Debug`, which does not implement the `Copy` trait
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
error: aborting due to 4 previous errors
|
|
|
|
|
2019-04-17 12:26:38 -05:00
|
|
|
Some errors have detailed explanations: E0161, E0507.
|
2018-08-08 07:28:26 -05:00
|
|
|
For more information about an error, try `rustc --explain E0161`.
|