about summary refs log tree commit diff
path: root/src/libcore/array.rs
diff options
context:
space:
mode:
authorVadim Petrochenkov <vadim.petrochenkov@gmail.com>2019-07-23 22:17:27 +0300
committerVadim Petrochenkov <vadim.petrochenkov@gmail.com>2019-07-28 18:47:02 +0300
commit676d282dd3cd2dedba651e98c9a41af42983f08b (patch)
tree859875de5c271f683d5b57bb9ec4911e44388f16 /src/libcore/array.rs
parent434152157f9d73ad1899fb8da3a61aed6f8a46d6 (diff)
downloadrust-676d282dd3cd2dedba651e98c9a41af42983f08b.tar.gz
rust-676d282dd3cd2dedba651e98c9a41af42983f08b.zip
Deny `unused_lifetimes` through rustbuild
Diffstat (limited to 'src/libcore/array.rs')
-rw-r--r--src/libcore/array.rs10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/libcore/array.rs b/src/libcore/array.rs
index 6ecc0487fae..6023bc21e74 100644
--- a/src/libcore/array.rs
+++ b/src/libcore/array.rs
@@ -250,7 +250,7 @@ where
 }
 
 #[stable(feature = "rust1", since = "1.0.0")]
-impl<'a, 'b, A, B, const N: usize> PartialEq<[A; N]> for [B]
+impl<A, B, const N: usize> PartialEq<[A; N]> for [B]
 where
     B: PartialEq<A>,
     [A; N]: LengthAtMost32,
@@ -266,7 +266,7 @@ where
 }
 
 #[stable(feature = "rust1", since = "1.0.0")]
-impl<'a, 'b, A, B, const N: usize> PartialEq<&'b [B]> for [A; N]
+impl<'b, A, B, const N: usize> PartialEq<&'b [B]> for [A; N]
 where
     A: PartialEq<B>,
     [A; N]: LengthAtMost32,
@@ -282,7 +282,7 @@ where
 }
 
 #[stable(feature = "rust1", since = "1.0.0")]
-impl<'a, 'b, A, B, const N: usize> PartialEq<[A; N]> for &'b [B]
+impl<'b, A, B, const N: usize> PartialEq<[A; N]> for &'b [B]
 where
     B: PartialEq<A>,
     [A; N]: LengthAtMost32,
@@ -298,7 +298,7 @@ where
 }
 
 #[stable(feature = "rust1", since = "1.0.0")]
-impl<'a, 'b, A, B, const N: usize> PartialEq<&'b mut [B]> for [A; N]
+impl<'b, A, B, const N: usize> PartialEq<&'b mut [B]> for [A; N]
 where
     A: PartialEq<B>,
     [A; N]: LengthAtMost32,
@@ -314,7 +314,7 @@ where
 }
 
 #[stable(feature = "rust1", since = "1.0.0")]
-impl<'a, 'b, A, B, const N: usize> PartialEq<[A; N]> for &'b mut [B]
+impl<'b, A, B, const N: usize> PartialEq<[A; N]> for &'b mut [B]
 where
     B: PartialEq<A>,
     [A; N]: LengthAtMost32,