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