summaryrefslogtreecommitdiffstats
path: root/src/test/ui/type-alias-impl-trait/issue-65384.stderr
blob: 41bcea27e1fa317f45f311ac9b9a6e332cdb25a6 (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-65384.rs:10:18
   |
LL | impl MyTrait for Bar {}
   |                  ^^^
   |
note: type alias impl trait defined here
  --> $DIR/issue-65384.rs:8:12
   |
LL | type Bar = impl MyTrait;
   |            ^^^^^^^^^^^^

error: aborting due to previous error