]> git.lizzy.rs Git - rust.git/blob - src/test/ui/type-alias-impl-trait/nested-tait-inference3.stderr
Rollup merge of #99064 - lyming2007:issue-97687-fix, r=estebank
[rust.git] / src / test / ui / type-alias-impl-trait / nested-tait-inference3.stderr
1 error: cannot implement trait on type alias impl trait
2   --> $DIR/nested-tait-inference3.rs:10:10
3    |
4 LL | impl Foo<FooX> for () { }
5    |          ^^^^
6    |
7 note: type alias impl trait defined here
8   --> $DIR/nested-tait-inference3.rs:6:13
9    |
10 LL | type FooX = impl Debug;
11    |             ^^^^^^^^^^
12
13 error: aborting due to previous error
14