2021-05-09 13:53:13 -05:00
|
|
|
error[E0119]: conflicting implementations of trait `Trait` for type `Wrapper<OpaqueClosure>`
|
2022-10-24 10:31:38 -05:00
|
|
|
--> $DIR/coherence-with-closure.rs:11:1
|
2021-05-09 13:53:13 -05:00
|
|
|
|
|
|
|
|
LL | impl Trait for Wrapper<OpaqueClosure> {}
|
|
|
|
| ------------------------------------- first implementation here
|
|
|
|
LL | impl<T: Sync> Trait for Wrapper<T> {}
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ conflicting implementation for `Wrapper<OpaqueClosure>`
|
|
|
|
|
2022-10-24 10:31:38 -05:00
|
|
|
error: aborting due to previous error
|
2022-04-12 09:02:57 -05:00
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0119`.
|