about summary refs log tree commit diff
path: root/tests/ui/specialization/min_specialization/impl-on-opaque2.stderr
blob: 3c0bc8f8f8354c363d72c9e2e8401bf0a83e7ae9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
error[E0119]: conflicting implementations of trait `SpecTrait<(), ()>` for type `()`
  --> $DIR/impl-on-opaque2.rs:21:1
   |
LL | impl<U> SpecTrait<U, ()> for () {
   | ------------------------------- first implementation here
...
LL | impl SpecTrait<(), Opaque> for () {
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ conflicting implementation for `()`

error: aborting due to 1 previous error

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