@@ -2,19 +2,19 @@ error[E0119]: conflicting implementations of trait `IntoCow<'_, _>` for type `Co
2
2
--> $DIR/associated-types-coherence-failure.rs:21:1
3
3
|
4
4
LL | impl<'a, B: ?Sized> IntoCow<'a, B> for <B as ToOwned>::Owned where B: ToOwned {
5
- | ------------------------------------------------------------ first implementation here
5
+ | ----------------------------------------------------------------------------- first implementation here
6
6
...
7
7
LL | impl<'a, B: ?Sized> IntoCow<'a, B> for Cow<'a, B> where B: ToOwned {
8
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ conflicting implementation for `Cow<'_, _>`
8
+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ conflicting implementation for `Cow<'_, _>`
9
9
10
10
error[E0119]: conflicting implementations of trait `IntoCow<'_, _>` for type `&_`
11
11
--> $DIR/associated-types-coherence-failure.rs:28:1
12
12
|
13
13
LL | impl<'a, B: ?Sized> IntoCow<'a, B> for <B as ToOwned>::Owned where B: ToOwned {
14
- | ------------------------------------------------------------ first implementation here
14
+ | ----------------------------------------------------------------------------- first implementation here
15
15
...
16
16
LL | impl<'a, B: ?Sized> IntoCow<'a, B> for &'a B where B: ToOwned {
17
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ conflicting implementation for `&_`
17
+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ conflicting implementation for `&_`
18
18
19
19
error: aborting due to 2 previous errors
20
20
0 commit comments