]> git.lizzy.rs Git - rust.git/blob - src/test/ui/type-alias-impl-trait/issue-65384.stderr
unboxed-closures and type-alias-impl-trait nll revisions
[rust.git] / src / test / ui / type-alias-impl-trait / issue-65384.stderr
1 error: cannot implement trait on type alias impl trait
2   --> $DIR/issue-65384.rs:10:1
3    |
4 LL | impl MyTrait for Bar {}
5    | ^^^^^^^^^^^^^^^^^^^^
6    |
7 note: type alias impl trait defined here
8   --> $DIR/issue-65384.rs:8:12
9    |
10 LL | type Bar = impl MyTrait;
11    |            ^^^^^^^^^^^^
12
13 error: aborting due to previous error
14