blob: 2d4a6854a920be74ffc2add35ade869546709f08 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
error: cannot implement trait on type alias impl trait
--> $DIR/issue-76202-trait-impl-for-tait.rs:16:15
|
LL | impl Test for F {
| ^
|
note: type alias impl trait defined here
--> $DIR/issue-76202-trait-impl-for-tait.rs:9:10
|
LL | type F = impl Dummy;
| ^^^^^^^^^^
error: aborting due to previous error
|