1 error[E0277]: the trait bound `<Self as SomeTrait>::Type1: Copy` is not satisfied
2 --> $DIR/wf-trait-associated-type-trait.rs:11:19
4 LL | type Type2 = (IsCopy<Self::Type1>, bool);
5 | ^^^^^^^^^^^^^^^^^^^ the trait `Copy` is not implemented for `<Self as SomeTrait>::Type1`
7 note: required by a bound in `IsCopy`
8 --> $DIR/wf-trait-associated-type-trait.rs:7:17
10 LL | struct IsCopy<T:Copy> { x: T }
11 | ^^^^ required by this bound in `IsCopy`
12 help: consider further restricting the associated type
14 LL | trait SomeTrait where <Self as SomeTrait>::Type1: Copy {
15 | ++++++++++++++++++++++++++++++++++++++
17 error: aborting due to previous error
19 For more information about this error, try `rustc --explain E0277`.