1 error[E0119]: conflicting implementations of trait `trait_impl_conflict::Foo` for type `isize`
2 --> $DIR/coherence-cross-crate-conflict.rs:9:1
4 LL | impl<A> Foo for A {
7 = note: conflicting implementation in crate `trait_impl_conflict`:
10 error[E0210]: type parameter `A` must be used as the type parameter for some local type (e.g., `MyStruct<A>`)
11 --> $DIR/coherence-cross-crate-conflict.rs:9:6
13 LL | impl<A> Foo for A {
14 | ^ type parameter `A` must be used as the type parameter for some local type
16 = note: implementing a foreign trait is only possible if at least one of the types for which it is implemented is local
17 = note: only traits defined in the current crate can be implemented for a type parameter
19 error: aborting due to 2 previous errors
21 Some errors have detailed explanations: E0119, E0210.
22 For more information about an error, try `rustc --explain E0119`.