Skip to content

Commit d81d081

Browse files
committed
Hash EntryKind::AssociatedConst const data
Related to #49991
1 parent 190a6c4 commit d81d081

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/librustc_metadata/schema.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -373,9 +373,10 @@ impl<'a, 'gcx> HashStable<StableHashingContext<'a>> for EntryKind<'gcx> {
373373
EntryKind::AssociatedType(associated_container) => {
374374
associated_container.hash_stable(hcx, hasher);
375375
}
376-
EntryKind::AssociatedConst(associated_container, qualif, _) => {
376+
EntryKind::AssociatedConst(associated_container, qualif, ref const_data) => {
377377
associated_container.hash_stable(hcx, hasher);
378378
qualif.hash_stable(hcx, hasher);
379+
const_data.hash_stable(hcx, hasher);
379380
}
380381
}
381382
}

0 commit comments

Comments
 (0)