@@ -2,19 +2,19 @@ error[E0119]: conflicting implementations of trait `IntoCow<'_, _>` for type `Co
22 --> $DIR/associated-types-coherence-failure.rs:21:1
33 |
44LL | impl<'a, B: ?Sized> IntoCow<'a, B> for <B as ToOwned>::Owned where B: ToOwned {
5- | ------------------------------------------------------------ first implementation here
5+ | ----------------------------------------------------------------------------- first implementation here
66...
77LL | impl<'a, B: ?Sized> IntoCow<'a, B> for Cow<'a, B> where B: ToOwned {
8- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ conflicting implementation for `Cow<'_, _>`
8+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ conflicting implementation for `Cow<'_, _>`
99
1010error[E0119]: conflicting implementations of trait `IntoCow<'_, _>` for type `&_`
1111 --> $DIR/associated-types-coherence-failure.rs:28:1
1212 |
1313LL | impl<'a, B: ?Sized> IntoCow<'a, B> for <B as ToOwned>::Owned where B: ToOwned {
14- | ------------------------------------------------------------ first implementation here
14+ | ----------------------------------------------------------------------------- first implementation here
1515...
1616LL | impl<'a, B: ?Sized> IntoCow<'a, B> for &'a B where B: ToOwned {
17- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ conflicting implementation for `&_`
17+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ conflicting implementation for `&_`
1818
1919error: aborting due to 2 previous errors
2020
0 commit comments