2021-05-09 18:53:13 +00:00
|
|
|
error[E0119]: conflicting implementations of trait `Trait` for type `Wrapper<OpaqueClosure>`
|
2022-10-24 15:31:38 +00:00
|
|
|
--> $DIR/coherence-with-closure.rs:11:1
|
2021-05-09 18:53:13 +00: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 15:31:38 +00:00
|
|
|
error: aborting due to previous error
|
2022-04-12 14:02:57 +00:00
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0119`.
|