Query the fingerprint style during key reconstruction
Keys can be reconstructed from fingerprints that are not DefPathHash, but then we cannot extract a DefId from them.
This commit is contained in:
parent
0eabf25b90
commit
6f78eed1c7
6 changed files with 74 additions and 48 deletions
|
@ -25,8 +25,8 @@ impl rustc_query_system::dep_graph::DepKind for DepKind {
|
|||
const NULL: Self = DepKind::Null;
|
||||
|
||||
#[inline(always)]
|
||||
fn can_reconstruct_query_key(&self) -> bool {
|
||||
DepKind::can_reconstruct_query_key(self)
|
||||
fn fingerprint_style(&self) -> rustc_query_system::dep_graph::FingerprintStyle {
|
||||
DepKind::fingerprint_style(self)
|
||||
}
|
||||
|
||||
#[inline(always)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue