Skip to content

Commit 948e94d

Browse files
committed
Global Allocations don't have an extra value
1 parent 6b73820 commit 948e94d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/librustc/ich/impls_ty.rs

+4-1
Original file line numberDiff line numberDiff line change
@@ -457,7 +457,10 @@ impl<'a> HashStable<StableHashingContext<'a>> for mir::interpret::Allocation {
457457
hasher: &mut StableHasher<W>,
458458
) {
459459
trace!("hashing allocation {:?}", self);
460-
let mir::interpret::Allocation { bytes, relocations, undef_mask, align, mutability } = self;
460+
let mir::interpret::Allocation {
461+
bytes, relocations, undef_mask, align, mutability,
462+
extra: (),
463+
} = self;
461464
bytes.hash_stable(hcx, hasher);
462465
for reloc in relocations.iter() {
463466
reloc.hash_stable(hcx, hasher);

0 commit comments

Comments
 (0)