]> git.lizzy.rs Git - rust.git/blob - src/test/ui/generic-associated-types/issue-87429-associated-type-default.stderr
Add a couple more tests
[rust.git] / src / test / ui / generic-associated-types / issue-87429-associated-type-default.stderr
1 error[E0277]: can't compare `Foo` with `Foo`
2   --> $DIR/issue-87429-associated-type-default.rs:14:5
3    |
4 LL |     type Member<'a>: for<'b> PartialEq<Self::Member<'b>> = Foo;
5    |     ^^^^^^^^^^^^^^^^^-----------------------------------^^^^^^^
6    |     |                |
7    |     |                required by this bound in `Family2::Member`
8    |     no implementation for `Foo == Foo`
9    |
10    = help: the trait `PartialEq` is not implemented for `Foo`
11
12 error: aborting due to previous error
13
14 For more information about this error, try `rustc --explain E0277`.