Module rustc_middle::hir

source ·
Expand description

HIR datatypes. See the rustc dev guide for more info.



  • 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.
  • Top-level HIR node for current owner. This only contains the node for which HirId::local_id == 0, and excludes bodies.