rust/tests/ui/coherence/coherence-with-coroutine.stock.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
514 B
Plaintext
Raw Normal View History

2023-10-19 11:06:43 -05:00
error[E0119]: conflicting implementations of trait `Trait` for type `Wrapper<OpaqueCoroutine>`
--> $DIR/coherence-with-coroutine.rs:21:1
2021-05-09 13:53:13 -05:00
|
2023-10-19 11:06:43 -05:00
LL | impl Trait for Wrapper<OpaqueCoroutine> {}
2021-05-09 13:53:13 -05:00
| --------------------------------------- first implementation here
LL | impl<T: Sync> Trait for Wrapper<T> {}
2023-10-19 11:06:43 -05:00
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ conflicting implementation for `Wrapper<OpaqueCoroutine>`
2021-05-09 13:53:13 -05:00
error: aborting due to 1 previous error
For more information about this error, try `rustc --explain E0119`.