Skip to content

Commit

Permalink
Rollup merge of rust-lang#68919 - Zoxc:ast-lifetime, r=nikomatsakis
Browse files Browse the repository at this point in the history
Remove HashStable impl for ast::Lifetime
  • Loading branch information
Dylan-DPC authored Feb 7, 2020
2 parents 04c42f4 + 44edbc0 commit 14f79f9
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/librustc/ich/impls_syntax.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 14f79f9

Please sign in to comment.