mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 11:20:54 +00:00
Merge pull request #20699 from lnicola/ena-fingerprint
minor: Set `WithCachedTypeInfo::stable_hash` when in-tree
This commit is contained in:
commit
50bb3c5d82
@ -36,6 +36,8 @@ impl<'db> Const<'db> {
|
||||
internee: kind,
|
||||
flags: flags.flags,
|
||||
outer_exclusive_binder: flags.outer_exclusive_binder,
|
||||
#[cfg(feature = "in-rust-tree")]
|
||||
stable_hash: ena::fingerprint::Fingerprint::ZERO,
|
||||
};
|
||||
Const::new_(interner.db(), InternedWrapperNoDebug(cached))
|
||||
}
|
||||
|
@ -227,6 +227,8 @@ impl<'db> Predicate<'db> {
|
||||
internee: kind,
|
||||
flags: flags.flags,
|
||||
outer_exclusive_binder: flags.outer_exclusive_binder,
|
||||
#[cfg(feature = "in-rust-tree")]
|
||||
stable_hash: ena::fingerprint::Fingerprint::ZERO,
|
||||
};
|
||||
Predicate::new_(interner.db(), InternedWrapperNoDebug(cached))
|
||||
}
|
||||
|
@ -60,6 +60,8 @@ impl<'db> Ty<'db> {
|
||||
internee: kind,
|
||||
flags: flags.flags,
|
||||
outer_exclusive_binder: flags.outer_exclusive_binder,
|
||||
#[cfg(feature = "in-rust-tree")]
|
||||
stable_hash: ena::fingerprint::Fingerprint::ZERO,
|
||||
};
|
||||
Ty::new_(interner.db(), InternedWrapperNoDebug(cached))
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user