Skip to content

Commit 88573a7

Browse files
authored
Rollup merge of #68919 - Zoxc:ast-lifetime, r=nikomatsakis
Remove HashStable impl for ast::Lifetime
2 parents 9047c57 + 44edbc0 commit 88573a7

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/librustc/ich/impls_syntax.rs

-7
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,6 @@ use smallvec::SmallVec;
1212

1313
impl<'ctx> rustc_target::HashStableContext for StableHashingContext<'ctx> {}
1414

15-
impl<'a> HashStable<StableHashingContext<'a>> for ast::Lifetime {
16-
fn hash_stable(&self, hcx: &mut StableHashingContext<'a>, hasher: &mut StableHasher) {
17-
self.id.hash_stable(hcx, hasher);
18-
self.ident.hash_stable(hcx, hasher);
19-
}
20-
}
21-
2215
impl<'a> HashStable<StableHashingContext<'a>> for [ast::Attribute] {
2316
fn hash_stable(&self, hcx: &mut StableHashingContext<'a>, hasher: &mut StableHasher) {
2417
if self.len() == 0 {

0 commit comments

Comments
 (0)