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