Module unexpand
rustc_
mir_
transform
1.87.0-nightly
(be73c1f46 2025-03-21)
Module unexpand
Module Items
Functions
In rustc_
mir_
transform::
coverage
Modules
counters
graph
mappings
query
spans
unexpand
Structs
ExtractedHirInfo
InstrumentCoverage
Functions
create_mappings
extract_hir_info
extract_hole_spans_from_hir
hash_mir_source
inject_coverage_statements
inject_mcdc_statements
inject_statement
instrument_function_for_coverage
rustc_mir_transform
::
coverage
Module
unexpand
Copy item path
Settings
Help
Summary
Source
Functions
§
unexpand_
into_
body_
span
🔒
Walks through the expansion ancestors of
original_span
to find a span that is contained in
body_span
and has the same [syntax context] as
body_span
.
unexpand_
into_
body_
span_
with_
expn_
kind
🔒
Walks through the expansion ancestors of
original_span
to find a span that is contained in
body_span
and has the same [syntax context] as
body_span
.
unexpand_
into_
body_
span_
with_
prev
🔒
Walks through the expansion ancestors of
original_span
to find a span that is contained in
body_span
and has the same
syntax context
as
body_span
. The ancestor that was traversed just before the matching span (if any) is also returned.