blob: df6781f2f9a276d9d309bd5a130abc3700982aa1 [file] [edit]
error[E0119]: conflicting implementations of trait `Maybe` for type `()`
--> $DIR/coherence.rs:13:1
|
LL | impl Maybe for () {}
| ----------------- first implementation here
LL | impl Maybe for () where (): IsVoid<IS_VOID = true> {}
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ conflicting implementation for `()`
error: aborting due to 1 previous error
For more information about this error, try `rustc --explain E0119`.