diff --git a/src/librustc_metadata/schema.rs b/src/librustc_metadata/schema.rs index 5d6db1abe7b68..ddeb797f1bef5 100644 --- a/src/librustc_metadata/schema.rs +++ b/src/librustc_metadata/schema.rs @@ -373,9 +373,10 @@ impl<'a, 'gcx> HashStable> for EntryKind<'gcx> { EntryKind::AssociatedType(associated_container) => { associated_container.hash_stable(hcx, hasher); } - EntryKind::AssociatedConst(associated_container, qualif, _) => { + EntryKind::AssociatedConst(associated_container, qualif, ref const_data) => { associated_container.hash_stable(hcx, hasher); qualif.hash_stable(hcx, hasher); + const_data.hash_stable(hcx, hasher); } } }