fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

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