]>
Commit | Line | Data |
---|---|---|
29967ef6 XL |
1 | error[E0777]: expected path to a trait, found literal |
2 | --> $DIR/E0777.rs:1:10 | |
3 | | | |
4 | LL | #[derive("Clone")] | |
136023e0 | 5 | | ^^^^^^^ not a trait |
29967ef6 XL |
6 | | |
7 | = help: try using `#[derive(Clone)]` | |
8 | ||
9 | error[E0777]: expected path to a trait, found literal | |
10 | --> $DIR/E0777.rs:2:10 | |
11 | | | |
12 | LL | #[derive("Clone | |
13 | | __________^ | |
14 | LL | | ")] | |
136023e0 | 15 | | |_^ not a trait |
29967ef6 XL |
16 | | |
17 | = help: for example, write `#[derive(Debug)]` for `Debug` | |
18 | ||
19 | error: aborting due to 2 previous errors | |
20 | ||
21 | For more information about this error, try `rustc --explain E0777`. |