Module rustc_query_system::ich::hcx
source · Structs
- This is the context state available during incr. comp. hashing. It contains enough information to transform
DefId
s andHirId
s into stableDefPath
s (i.e., a reference to theTyCtxt
) and it holds a few caches for speeding up various things (e.g., eachDefId
/DefPath
is only hashed once).
Enums
- The
BodyResolver
allows mapping aBodyId
to the correspondinghir::Body
. We could also just store a plain reference to thehir::Crate
but we want to avoid that the crate is used to get untracked access to all of the HIR.