1 error[E0277]: the trait bound `X: Copy` is not satisfied
2 --> $DIR/trait-impl-bound-suggestions.rs:14:52
4 LL | fn return_the_constrained_type(&self, x: X) -> ConstrainedStruct<X> {
5 | ^^^^^^^^^^^^^^^^^^^^ the trait `Copy` is not implemented for `X`
7 note: required by a bound in `ConstrainedStruct`
8 --> $DIR/trait-impl-bound-suggestions.rs:8:29
10 LL | struct ConstrainedStruct<X: Copy> {
11 | ^^^^ required by this bound in `ConstrainedStruct`
12 help: consider further restricting type parameter `X`
14 LL | trait InsufficientlyConstrainedGeneric<X=()> where X: std::marker::Copy {
15 | ++++++++++++++++++++++++++
17 error: aborting due to previous error
19 For more information about this error, try `rustc --explain E0277`.