1 error[E0277]: the trait bound `T: MyHash` is not satisfied
2 --> $DIR/wf-impl-associated-type-trait.rs:17:16
4 LL | type Bar = MySet<T>;
5 | ^^^^^^^^ the trait `MyHash` is not implemented for `T`
7 note: required by a bound in `MySet`
8 --> $DIR/wf-impl-associated-type-trait.rs:8:20
10 LL | pub struct MySet<T:MyHash> {
11 | ^^^^^^ required by this bound in `MySet`
12 help: consider restricting type parameter `T`
14 LL | impl<T: MyHash> Foo for T {
17 error: aborting due to previous error
19 For more information about this error, try `rustc --explain E0277`.