1warning: the feature `specialization` is incomplete and may not be safe to use and/or cause compiler crashes 2 --> $DIR/issue-87429-specialization.rs:3:12 3 | 4LL | #![feature(specialization)] 5 | ^^^^^^^^^^^^^^ 6 | 7 = note: `#[warn(incomplete_features)]` on by default 8 = note: see issue #31844 <https://github.com/rust-lang/rust/issues/31844> for more information 9 = help: consider using `min_specialization` instead, which is more stable and complete 10 11error[E0277]: can't compare `Foo` with `Foo` 12 --> $DIR/issue-87429-specialization.rs:21:5 13 | 14LL | default type Member<'a> = Foo; 15 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no implementation for `Foo == Foo` 16 | 17 = help: the trait `PartialEq` is not implemented for `Foo` 18note: required by a bound in `Family::Member` 19 --> $DIR/issue-87429-specialization.rs:8:22 20 | 21LL | type Member<'a>: for<'b> PartialEq<Self::Member<'b>>; 22 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Family::Member` 23 24error: aborting due to previous error; 1 warning emitted 25 26For more information about this error, try `rustc --explain E0277`. 27