From 19aa82a4bdc43327f66232efbc2bcaad5de43025 Mon Sep 17 00:00:00 2001 From: Wesley Wiser Date: Tue, 24 Apr 2018 23:18:58 -0400 Subject: [PATCH] Hash EntryKind::AssociatedConst const data Related to #49991 --- src/librustc_metadata/schema.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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); } } }