Skip to content

Commit

Permalink
Hash EntryKind::AssociatedConst const data
Browse files Browse the repository at this point in the history
Related to rust-lang#49991
  • Loading branch information
wesleywiser authored and Xandkeeper committed Apr 29, 2018
1 parent 3394da0 commit 19aa82a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/librustc_metadata/schema.rs
Original file line number Diff line number Diff line change
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 19aa82a

Please sign in to comment.