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