2020-10-01 16:39:47 +00:00
|
|
|
error[E0777]: expected path to a trait, found literal
|
|
|
|
--> $DIR/E0777.rs:1:10
|
|
|
|
|
|
|
|
|
LL | #[derive("Clone")]
|
2021-07-17 18:13:50 +00:00
|
|
|
| ^^^^^^^ not a trait
|
2020-10-01 16:39:47 +00:00
|
|
|
|
|
2020-10-02 11:52:03 +00:00
|
|
|
= help: try using `#[derive(Clone)]`
|
|
|
|
|
|
|
|
error[E0777]: expected path to a trait, found literal
|
|
|
|
--> $DIR/E0777.rs:2:10
|
|
|
|
|
|
|
|
|
LL | #[derive("Clone
|
|
|
|
| __________^
|
|
|
|
LL | | ")]
|
2021-07-17 18:13:50 +00:00
|
|
|
| |_^ not a trait
|
2020-10-02 11:52:03 +00:00
|
|
|
|
|
2020-10-01 16:39:47 +00:00
|
|
|
= help: for example, write `#[derive(Debug)]` for `Debug`
|
|
|
|
|
2020-10-02 11:52:03 +00:00
|
|
|
error: aborting due to 2 previous errors
|
2020-10-01 16:39:47 +00:00
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0777`.
|