blob: 4a3fb16733e04964fc53cc8f5ade4388a9c9aa6f (
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/nested-tait-inference3.rs:10:10
|
LL | impl Foo<FooX> for () { }
| ^^^^
|
note: type alias impl trait defined here
--> $DIR/nested-tait-inference3.rs:6:13
|
LL | type FooX = impl Debug;
| ^^^^^^^^^^
error: aborting due to previous error
|