1
Fork 0

Fix rebase fallout

This commit is contained in:
Aaron Hill 2020-11-25 15:08:31 -05:00
parent 6a9dbd2e0e
commit 7a9aa4f980
No known key found for this signature in database
GPG key ID: B4087E510E98B164
5 changed files with 22 additions and 8 deletions

View file

@ -709,7 +709,7 @@ impl<K: DepKind> DepGraph<K> {
// from the old incremental cache into the new cache that we serialize
// and the end of this compilation session.
if dep_node.kind.can_reconstruct_query_key() {
tcx.register_reused_dep_path_hash(DefPathHash(dep_node.hash));
tcx.register_reused_dep_path_hash(DefPathHash(dep_node.hash.into()));
}
// ... emitting any stored diagnostic ...