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