]>
Commit | Line | Data |
---|---|---|
1b1a35ee | 1 | error[E0277]: the trait bound `T: Copy` is not satisfied |
0731742a | 2 | --> $DIR/issue-43784-supertrait.rs:8:9 |
8faf50e0 | 3 | | |
29967ef6 XL |
4 | LL | pub trait Complete: Partial { |
5 | | ------- required by this bound in `Complete` | |
6 | ... | |
532ac7d7 | 7 | LL | impl<T> Complete for T {} |
1b1a35ee | 8 | | ^^^^^^^^ the trait `Copy` is not implemented for `T` |
74b04a01 | 9 | | |
ba9703b0 | 10 | help: consider restricting type parameter `T` |
74b04a01 | 11 | | |
cdc7bbd5 XL |
12 | LL | impl<T: std::marker::Copy> Complete for T {} |
13 | | ^^^^^^^^^^^^^^^^^^^ | |
8faf50e0 | 14 | |
b7449926 | 15 | error: aborting due to previous error |
8faf50e0 | 16 | |
b7449926 | 17 | For more information about this error, try `rustc --explain E0277`. |