1 error[E0277]: the trait bound `Bar: Eq` is not satisfied
2 --> $DIR/where-clauses-method-unsatisfied.rs:18:7
5 | ^^^^^^ the trait `Eq` is not implemented for `Bar`
7 note: required by a bound in `Foo::<T>::equals`
8 --> $DIR/where-clauses-method-unsatisfied.rs:11:52
10 LL | fn equals(&self, u: &Foo<T>) -> bool where T : Eq {
11 | ^^ required by this bound in `Foo::<T>::equals`
12 help: consider annotating `Bar` with `#[derive(Eq)]`
17 error: aborting due to previous error
19 For more information about this error, try `rustc --explain E0277`.