Remove HashStable impl for ast::Lifetime
This commit is contained in:
parent
f8fd462447
commit
44edbc0e90
1 changed files with 0 additions and 7 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue