|
LL | #[derive(Copy(Bad))]
| ^^^^ the trait `std::clone::Clone` is not implemented for `Test1`
+ |
+ ::: $SRC_DIR/libcore/marker.rs:LL:COL
+ |
+LL | pub trait Copy: Clone {
+ | ----- required by this bound in `std::marker::Copy`
|
= note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)
|
LL | #[derive(Copy="bad")]
| ^^^^ the trait `std::clone::Clone` is not implemented for `Test2`
+ |
+ ::: $SRC_DIR/libcore/marker.rs:LL:COL
+ |
+LL | pub trait Copy: Clone {
+ | ----- required by this bound in `std::marker::Copy`
|
= note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)