fork/rust
git clone https://git.julia.blue/fork/rust
4fb7144ed15
1.43.0
1error: traits in `#[derive(...)]` don't accept arguments 2 --> $DIR/malformed-derive-entry.rs:1:14 3 | 4LL | #[derive(Copy(Bad))] 5 | ^^^^^ help: remove the arguments 6 7error: traits in `#[derive(...)]` don't accept values 8 --> $DIR/malformed-derive-entry.rs:6:14 9 | 10LL | #[derive(Copy="bad")] 11 | ^^^^^^ help: remove the value 12 13error: malformed `derive` attribute input 14 --> $DIR/malformed-derive-entry.rs:11:1 15 | 16LL | #[derive] 17 | ^^^^^^^^^ help: missing traits to be derived: `#[derive(Trait1, Trait2, ...)]` 18 19error[E0277]: the trait bound `Test1: std::clone::Clone` is not satisfied 20 --> $DIR/malformed-derive-entry.rs:1:10 21 | 22LL | #[derive(Copy(Bad))] 23 | ^^^^ the trait `std::clone::Clone` is not implemented for `Test1` 24 | 25 = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) 26 27error[E0277]: the trait bound `Test2: std::clone::Clone` is not satisfied 28 --> $DIR/malformed-derive-entry.rs:6:10 29 | 30LL | #[derive(Copy="bad")] 31 | ^^^^ the trait `std::clone::Clone` is not implemented for `Test2` 32 | 33 = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) 34 35error: aborting due to 5 previous errors 36 37For more information about this error, try `rustc --explain E0277`.