summaryrefslogtreecommitdiffstats
path: root/src/test/ui/coherence/coherence-with-closure.stderr
blob: 431108e14d7d85949809482b045d2d3fb433f35d (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 previous error

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