]> git.lizzy.rs Git - rust.git/blob - src/test/ui/coherence/coherence-with-generator.stderr
Rollup merge of #103065 - aDotInTheVoid:rdj-arg-pattern, r=GuillaumeGomez
[rust.git] / src / test / ui / coherence / coherence-with-generator.stderr
1 error[E0119]: conflicting implementations of trait `Trait` for type `Wrapper<OpaqueGenerator>`
2   --> $DIR/coherence-with-generator.rs:15:1
3    |
4 LL | impl Trait for Wrapper<OpaqueGenerator> {}
5    | --------------------------------------- first implementation here
6 LL | impl<T: Sync> Trait for Wrapper<T> {}
7    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ conflicting implementation for `Wrapper<OpaqueGenerator>`
8
9 error: aborting due to previous error
10
11 For more information about this error, try `rustc --explain E0119`.