Skip to main content

Module map

Module map 

Source
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Β§

ItemCollector πŸ”’
ParentHirIterator πŸ”’
An iterator that walks up the ancestor tree of a given HirId. Constructed using tcx.hir_parent_iter(hir_id).
ParentOwnerIterator
An iterator that walks up the ancestor tree of a given HirId. Constructed using tcx.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=no reverts to the pre-metadata-hashing behavior. The HIR-based hashing scheme here matches the crate_hash query as it existed before this PR. (The resulting SVH still differs from a pre-PR compiler, because metadata_crate_hash is a [TRACKED] option and therefore contributes to the dep-tracking hash hashed in below.)
upstream_crates πŸ”’