Skip to content

Commit

Permalink
Hash EntryKind::AssociatedConst const data
Browse files Browse the repository at this point in the history
Related to #49991
  • Loading branch information
wesleywiser committed Apr 25, 2018
1 parent 190a6c4 commit d81d081
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/librustc_metadata/schema.rs
Expand Up @@ -373,9 +373,10 @@ impl<'a, 'gcx> HashStable<StableHashingContext<'a>> 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);
}
}
}
Expand Down

0 comments on commit d81d081

Please sign in to comment.