]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/coherence/coherence-impls-copy.stderr
New upstream version 1.31.0~beta.4+dfsg1
[rustc.git] / src / test / ui / coherence / coherence-impls-copy.stderr
index 24e7e85b1a9615d5743ee0716e7e59ff3450b26e..613ee0a269e70cd62a285e3a469da5cde0bad64c 100644 (file)
@@ -14,7 +14,7 @@ LL | impl Copy for &'static NotSync {}
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: conflicting implementation in crate `core`:
-           - impl<'a, T> std::marker::Copy for &'a T
+           - impl<'_, T> std::marker::Copy for &T
              where T: ?Sized;
 
 error[E0119]: conflicting implementations of trait `std::marker::Copy` for type `&[NotSync]`:
@@ -24,7 +24,7 @@ LL | impl Copy for &'static [NotSync] {}
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: conflicting implementation in crate `core`:
-           - impl<'a, T> std::marker::Copy for &'a T
+           - impl<'_, T> std::marker::Copy for &T
              where T: ?Sized;
 
 error[E0206]: the trait `Copy` may not be implemented for this type