]> git.lizzy.rs Git - rust.git/blob - src/test/ui/impl-trait/recursive-type-alias-impl-trait-declaration-too-subtle-2.stderr
Rollup merge of #88025 - devnexen:netbsd_scm_creds, r=Amanieu
[rust.git] / src / test / ui / impl-trait / recursive-type-alias-impl-trait-declaration-too-subtle-2.stderr
1 error[E0277]: can't compare `Bar` with `(Bar, i32)`
2   --> $DIR/recursive-type-alias-impl-trait-declaration-too-subtle-2.rs:14:5
3    |
4 LL |     Bar
5    |     ^^^ no implementation for `Bar == (Bar, i32)`
6    |
7    = help: the trait `PartialEq<(Bar, i32)>` is not implemented for `Bar`
8    = help: the trait `PartialEq<(Foo, i32)>` is implemented for `Bar`
9
10 error: aborting due to previous error
11
12 For more information about this error, try `rustc --explain E0277`.