summary refs log tree commit diff
path: root/src/test/ui/coherence/coherence-blanket-conflicts-with-blanket-implemented.stderr
blob: 7dbcda06511b877f725486e4093dcdb678c1887f (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-implemented.rs:34:1
   |
LL | impl<T:Even> MyTrait for T {
   | -------------------------- first implementation here
...
LL | impl<T:Odd> MyTrait for T { //~ ERROR E0119
   | ^^^^^^^^^^^^^^^^^^^^^^^^^ conflicting implementation

error: aborting due to previous error

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