2018-08-08 07:28:26 -05:00
|
|
|
error[E0119]: conflicting implementations of trait `trait_impl_conflict::Foo` for type `isize`:
|
2018-12-28 19:13:06 -06:00
|
|
|
--> $DIR/coherence-cross-crate-conflict.rs:12:1
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
|
LL | impl<A> Foo for A {
|
|
|
|
| ^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
= note: conflicting implementation in crate `trait_impl_conflict`:
|
|
|
|
- impl trait_impl_conflict::Foo for isize;
|
|
|
|
|
2018-11-26 20:59:49 -06:00
|
|
|
error[E0210]: type parameter `A` must be used as the type parameter for some local type (e.g., `MyStruct<A>`)
|
2019-10-12 16:31:23 -05:00
|
|
|
--> $DIR/coherence-cross-crate-conflict.rs:12:6
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
|
LL | impl<A> Foo for A {
|
2019-10-12 16:31:23 -05:00
|
|
|
| ^ type parameter `A` must be used as the type parameter for some local type
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
|
= note: only traits defined in the current crate can be implemented for a type parameter
|
|
|
|
|
|
|
|
error: aborting due to 2 previous errors
|
|
|
|
|
2019-04-17 12:26:38 -05:00
|
|
|
Some errors have detailed explanations: E0119, E0210.
|
2018-08-08 07:28:26 -05:00
|
|
|
For more information about an error, try `rustc --explain E0119`.
|