2023-10-24 16:51:26 +00:00
|
|
|
error[E0119]: conflicting implementations of trait `Foo` for type `Bar`
|
2024-02-01 23:05:34 +00:00
|
|
|
--> $DIR/coherence-constrained.rs:17:1
|
2023-10-24 16:51:26 +00:00
|
|
|
|
|
|
|
|
LL | impl Foo for Bar {
|
|
|
|
| ---------------- first implementation here
|
|
|
|
...
|
|
|
|
LL | impl Foo for Bar {
|
|
|
|
| ^^^^^^^^^^^^^^^^ conflicting implementation for `Bar`
|
|
|
|
|
2024-02-01 23:05:34 +00:00
|
|
|
error: aborting due to 1 previous error
|
2023-10-24 16:51:26 +00:00
|
|
|
|
2024-02-01 23:05:34 +00:00
|
|
|
For more information about this error, try `rustc --explain E0119`.
|