1
Fork 0

Cache more queries on disk.

This commit is contained in:
Camille GILLOT 2022-03-28 19:53:01 +02:00
parent 3a08bd7873
commit 9900ea352b
15 changed files with 104 additions and 83 deletions

View file

@ -36,7 +36,7 @@ impl<'a, 'tcx> HashStable<StableHashingContext<'a>> for Owner<'tcx> {
/// Gather the LocalDefId for each item-like within a module, including items contained within
/// bodies. The Ids are in visitor order. This is used to partition a pass between modules.
#[derive(Debug, HashStable)]
#[derive(Debug, HashStable, Encodable, Decodable)]
pub struct ModuleItems {
submodules: Box<[LocalDefId]>,
items: Box<[ItemId]>,