Expand description
This module used to contain a type called Map. That type has since been
eliminated, and all its methods are now on TyCtxt. But the module name
stays as map because there isnβt an obviously better name for it.
StructsΒ§
- Item
Collector π - Parent
HirIterator π - An iterator that walks up the ancestor tree of a given
HirId. Constructed usingtcx.hir_parent_iter(hir_id). - Parent
Owner Iterator - An iterator that walks up the ancestor tree of a given
HirId. Constructed usingtcx.hir_parent_owner_iter(hir_id).
FunctionsΒ§
- compute_
hir_ hash - Compute the new, metadata-oriented HIR hash for the full crate.
- crate_
hash π - hir_
crate_ πitems - hir_
module_ πitems - legacy_
crate_ πhash - Only reached when
-Z metadata-crate-hash=noreverts to the pre-metadata-hashing behavior. The HIR-based hashing scheme here matches thecrate_hashquery as it existed before this PR. (The resulting SVH still differs from a pre-PR compiler, becausemetadata_crate_hashis a[TRACKED]option and therefore contributes to the dep-tracking hash hashed in below.) - upstream_
crates π