1 error[E0277]: the trait bound `U: std::marker::Copy` is not satisfied
2 --> $DIR/wf-enum-bound.rs:19:1
4 LL | / enum SomeEnum<T,U> //~ ERROR E0277
5 LL | | where T: ExtraCopy<U>
7 LL | | SomeVariant(T,U)
9 | |_^ the trait `std::marker::Copy` is not implemented for `U`
11 = help: consider adding a `where U: std::marker::Copy` bound
12 note: required by `ExtraCopy`
13 --> $DIR/wf-enum-bound.rs:17:1
15 LL | trait ExtraCopy<T:Copy> { }
16 | ^^^^^^^^^^^^^^^^^^^^^^^
18 error: aborting due to previous error
20 For more information about this error, try `rustc --explain E0277`.