summaryrefslogtreecommitdiffstats
path: root/tests/ui/coherence/coherence-blanket-conflicts-with-blanket-unimplemented.stderr
blob: 510480f6a045f5cc3ca9e17186108b0610c48d5c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
error[E0119]: conflicting implementations of trait `MyTrait`
  --> $DIR/coherence-blanket-conflicts-with-blanket-unimplemented.rs:20:1
   |
LL | impl<T:Even> MyTrait for T {
   | -------------------------- first implementation here
...
LL | impl<T:Odd> MyTrait for T {
   | ^^^^^^^^^^^^^^^^^^^^^^^^^ conflicting implementation

error: aborting due to 1 previous error

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