Module rustc_middle::hir[−][src]

Expand description

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

Modules

Structs

Attributes owner by a HIR owner. It is build as a slice inside the attributes map, restricted to the nodes whose HirId::owner is prefix.

Result of HIR indexing.

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.

HIR node coupled with its parent’s id in the same HIR owner.

Functions