Module rustc_query_system::ich

source ·
Expand description

ICH - Incremental Compilation Hash


  • hcx 🔒
  • This module contains HashStable implementations for various data types from rustc_ast in no particular order.


  • This is the context state available during incr. comp. hashing. It contains enough information to transform DefIds and 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 DefId/DefPath is only hashed once).