diff options
| author | John Kåre Alsaker <john.kare.alsaker@gmail.com> | 2020-02-07 08:07:06 +0100 |
|---|---|---|
| committer | John Kåre Alsaker <john.kare.alsaker@gmail.com> | 2020-02-07 08:07:06 +0100 |
| commit | 44edbc0e90dd7364bc427e8a95a588251b9ef560 (patch) | |
| tree | e8274d15002502990ce3483cc0a30a586c5acc2f | |
| parent | f8fd4624474a68bd26694eff3536b9f3a127b2d3 (diff) | |
| download | rust-44edbc0e90dd7364bc427e8a95a588251b9ef560.tar.gz rust-44edbc0e90dd7364bc427e8a95a588251b9ef560.zip | |
Remove HashStable impl for ast::Lifetime
| -rw-r--r-- | src/librustc/ich/impls_syntax.rs | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/librustc/ich/impls_syntax.rs b/src/librustc/ich/impls_syntax.rs index e1733794b8d..d1815d5e320 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<StableHashingContext<'a>> 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<StableHashingContext<'a>> for [ast::Attribute] { fn hash_stable(&self, hcx: &mut StableHashingContext<'a>, hasher: &mut StableHasher) { if self.len() == 0 { |
