about summary refs log tree commit diff
path: root/tests/ui/traits/next-solver/cycles/unproductive-in-coherence.stderr
blob: 6605a28d547718ba2df5f9ed3383bc9a3e86dad6 (plain)
1
2
3
4
5
6
7
8
9
10
11
error[E0119]: conflicting implementations of trait `Overlap<<Overflow as Trait>::Assoc<Overflow>, _>` for type `Overflow`
  --> $DIR/unproductive-in-coherence.rs:18:1
   |
LL | impl<T: Trait, U: Copy> Overlap<T::Assoc<T>, U> for T {}
   | ----------------------------------------------------- first implementation here
LL | impl<U> Overlap<u32, U> for Overflow {}
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ conflicting implementation for `Overflow`

error: aborting due to 1 previous error

For more information about this error, try `rustc --explain E0119`.