Skip to content

Commit 0d758ec

Browse files
Rollup merge of #50207 - wesleywiser:hash_const_data, r=eddyb
Hash EntryKind::AssociatedConst const data Related to #49991 r? @michaelwoerister cc @eddyb
2 parents 3b49b27 + d81d081 commit 0d758ec

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)