2018-08-08 07:28:26 -05:00
|
|
|
error[E0119]: conflicting implementations of trait `Foo<i32>` for type `i32`:
|
2018-12-28 19:13:06 -06:00
|
|
|
--> $DIR/coherence-projection-conflict.rs:15:1
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
|
LL | impl Foo<i32> for i32 { }
|
|
|
|
| --------------------- first implementation here
|
|
|
|
LL |
|
2018-12-28 19:13:06 -06:00
|
|
|
LL | impl<A:Bar> Foo<A::Output> for A { }
|
2018-08-08 07:28:26 -05:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ conflicting implementation for `i32`
|
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0119`.
|