about summary refs log tree commit diff
path: root/tests/ui/type-alias-impl-trait/issue-65384.stderr
blob: 5653ee324be18f7bece028d8267b745b6696bac7 (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:9:1
   |
LL | impl MyTrait for () {}
   | ------------------- first implementation here
...
LL | impl MyTrait for Bar {}
   | ^^^^^^^^^^^^^^^^^^^^ conflicting implementation for `()`

error: aborting due to 1 previous error

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