summaryrefslogtreecommitdiffstats
path: root/tests/ui/type-alias-impl-trait/issue-65384.stderr
blob: f6692ae320733d679e5562c84c1efc0827de7813 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
error[E0119]: conflicting implementations of trait `MyTrait` for type `()`
  --> $DIR/issue-65384.rs:10:1
   |
LL | impl MyTrait for () {}
   | ------------------- first implementation here
...
LL | impl MyTrait for Bar {}
   | ^^^^^^^^^^^^^^^^^^^^ conflicting implementation for `()`

error: aborting due to previous error

For more information about this error, try `rustc --explain E0119`.