]> git.proxmox.com Git - rustc.git/blame - src/test/ui/generic-associated-types/issue-87429-specialization.stderr
Update unsuspicious file list
[rustc.git] / src / test / ui / generic-associated-types / issue-87429-specialization.stderr
CommitLineData
94222f64
XL
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 |
94222f64
XL
7 = note: see issue #31844 <https://github.com/rust-lang/rust/issues/31844> for more information
8 = help: consider using `min_specialization` instead, which is more stable and complete
2b03887a 9 = note: `#[warn(incomplete_features)]` on by default
94222f64
XL
10
11error[E0277]: can't compare `Foo` with `Foo`
f2b60f7d 12 --> $DIR/issue-87429-specialization.rs:20:31
94222f64
XL
13 |
14LL | default type Member<'a> = Foo;
a2a8927a 15 | ^^^ no implementation for `Foo == Foo`
94222f64
XL
16 |
17 = help: the trait `PartialEq` is not implemented for `Foo`
18note: required by a bound in `Family::Member`
f2b60f7d 19 --> $DIR/issue-87429-specialization.rs:7:22
94222f64
XL
20 |
21LL | type Member<'a>: for<'b> PartialEq<Self::Member<'b>>;
22 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Family::Member`
04454e1e
FG
23help: consider annotating `Foo` with `#[derive(PartialEq)]`
24 |
25LL | #[derive(PartialEq)]
26 |
94222f64
XL
27
28error: aborting due to previous error; 1 warning emitted
29
30For more information about this error, try `rustc --explain E0277`.