summaryrefslogtreecommitdiffstats
path: root/tests/ui/coherence/coherence-with-generator.stock.stderr
blob: 478ac4912646d8312fc12f9ae782ef5e34138f73 (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:21: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`.