From 44edbc0e90dd7364bc427e8a95a588251b9ef560 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20K=C3=A5re=20Alsaker?= Date: Fri, 7 Feb 2020 08:07:06 +0100 Subject: [PATCH] Remove HashStable impl for ast::Lifetime --- src/librustc/ich/impls_syntax.rs | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/librustc/ich/impls_syntax.rs b/src/librustc/ich/impls_syntax.rs index e1733794b8d72..d1815d5e320db 100644 --- a/src/librustc/ich/impls_syntax.rs +++ b/src/librustc/ich/impls_syntax.rs @@ -12,13 +12,6 @@ use smallvec::SmallVec; impl<'ctx> rustc_target::HashStableContext for StableHashingContext<'ctx> {} -impl<'a> HashStable> for ast::Lifetime { - fn hash_stable(&self, hcx: &mut StableHashingContext<'a>, hasher: &mut StableHasher) { - self.id.hash_stable(hcx, hasher); - self.ident.hash_stable(hcx, hasher); - } -} - impl<'a> HashStable> for [ast::Attribute] { fn hash_stable(&self, hcx: &mut StableHashingContext<'a>, hasher: &mut StableHasher) { if self.len() == 0 {