Module rustc_query_system::source ·
- This is the context state available during incr. comp. hashing. It contains enough information to transform
HirIds into stable
DefPaths (i.e., a reference to the
TyCtxt) and it holds a few caches for speeding up various things (e.g., each
DefPathis only hashed once).
BodyResolverallows mapping a
BodyIdto the corresponding
hir::Body. We could also just store a plain reference to the
hir::Cratebut we want to avoid that the crate is used to get untracked access to all of the HIR.