summaryrefslogtreecommitdiffstats
path: root/src/test/ui/coherence/coherence-with-generator.stderr
blob: 6d3be2e16c6578b37746a5bd5cc5f5b2ac39c229 (plain)
1
2
3
4
5
6
7
8
9
10
11
error[E0119]: conflicting implementations of trait `Trait` for type `Wrapper<OpaqueGenerator>`
  --> $DIR/coherence-with-generator.rs:15:1
   |
LL | impl Trait for Wrapper<OpaqueGenerator> {}
   | --------------------------------------- first implementation here
LL | impl<T: Sync> Trait for Wrapper<T> {}
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ conflicting implementation for `Wrapper<OpaqueGenerator>`

error: aborting due to previous error

For more information about this error, try `rustc --explain E0119`.