]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/associated-types/associated-types-coherence-failure.stderr
New upstream version 1.33.0+dfsg1
[rustc.git] / src / test / ui / associated-types / associated-types-coherence-failure.stderr
index 85d4bf784587e01f023c9ab12f22114609041528..2c53b0a2248fa170df4aacb1953715b896837169 100644 (file)
@@ -1,5 +1,5 @@
 error[E0119]: conflicting implementations of trait `IntoCow<'_, _>` for type `Cow<'_, _>`:
-  --> $DIR/associated-types-coherence-failure.rs:31:1
+  --> $DIR/associated-types-coherence-failure.rs:21:1
    |
 LL | impl<'a, B: ?Sized> IntoCow<'a, B> for <B as ToOwned>::Owned where B: ToOwned {
    | ----------------------------------------------------------------------------- first implementation here
@@ -8,7 +8,7 @@ LL | impl<'a, B: ?Sized> IntoCow<'a, B> for Cow<'a, B> where B: ToOwned {
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ conflicting implementation for `Cow<'_, _>`
 
 error[E0119]: conflicting implementations of trait `IntoCow<'_, _>` for type `&_`:
-  --> $DIR/associated-types-coherence-failure.rs:38:1
+  --> $DIR/associated-types-coherence-failure.rs:28:1
    |
 LL | impl<'a, B: ?Sized> IntoCow<'a, B> for <B as ToOwned>::Owned where B: ToOwned {
    | ----------------------------------------------------------------------------- first implementation here