1 error[E0277]: can't compare `Foo` with `Foo`
2 --> $DIR/issue-87429-associated-type-default.rs:13:60
4 LL | type Member<'a>: for<'b> PartialEq<Self::Member<'b>> = Foo;
5 | ^^^ no implementation for `Foo == Foo`
7 = help: the trait `PartialEq` is not implemented for `Foo`
8 note: required by a bound in `Family2::Member`
9 --> $DIR/issue-87429-associated-type-default.rs:13:22
11 LL | type Member<'a>: for<'b> PartialEq<Self::Member<'b>> = Foo;
12 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Family2::Member`
13 help: consider annotating `Foo` with `#[derive(PartialEq)]`
15 LL | #[derive(PartialEq)]
18 error: aborting due to previous error
20 For more information about this error, try `rustc --explain E0277`.