]>
Commit | Line | Data |
---|---|---|
04454e1e FG |
1 | error: cannot implement trait on type alias impl trait |
2 | --> $DIR/recursive-type-alias-impl-trait-declaration-too-subtle.rs:20:21 | |
5e7ed085 | 3 | | |
04454e1e FG |
4 | LL | impl PartialEq<(Foo, i32)> for Bar { |
5 | | ^^^ | |
5e7ed085 | 6 | | |
04454e1e FG |
7 | note: type alias impl trait defined here |
8 | --> $DIR/recursive-type-alias-impl-trait-declaration-too-subtle.rs:16:16 | |
5e7ed085 FG |
9 | | |
10 | LL | type Foo = impl PartialEq<(Foo, i32)>; | |
11 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
5e7ed085 | 12 | |
04454e1e | 13 | error: aborting due to previous error |
5e7ed085 | 14 |