1 error[E0277]: the trait bound `C: Copy` is not satisfied
2 --> $DIR/deriving-copyclone.rs:31:13
4 LL | fn is_copy<T: Copy>(_: T) {}
5 | ---- required by this bound in `is_copy`
7 LL | is_copy(B { a: 1, b: C });
10 | expected an implementor of trait `Copy`
11 | help: consider borrowing here: `&B { a: 1, b: C }`
13 = note: required because of the requirements on the impl of `Copy` for `B<C>`
15 error[E0277]: the trait bound `C: Clone` is not satisfied
16 --> $DIR/deriving-copyclone.rs:32:14
18 LL | fn is_clone<T: Clone>(_: T) {}
19 | ----- required by this bound in `is_clone`
21 LL | is_clone(B { a: 1, b: C });
24 | expected an implementor of trait `Clone`
25 | help: consider borrowing here: `&B { a: 1, b: C }`
27 = note: required because of the requirements on the impl of `Clone` for `B<C>`
29 error[E0277]: the trait bound `D: Copy` is not satisfied
30 --> $DIR/deriving-copyclone.rs:35:13
32 LL | fn is_copy<T: Copy>(_: T) {}
33 | ---- required by this bound in `is_copy`
35 LL | is_copy(B { a: 1, b: D });
38 | expected an implementor of trait `Copy`
39 | help: consider borrowing here: `&B { a: 1, b: D }`
41 = note: required because of the requirements on the impl of `Copy` for `B<D>`
43 error: aborting due to 3 previous errors
45 For more information about this error, try `rustc --explain E0277`.