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

error: aborting due to 1 previous error

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