Module from_mir
rustc_
mir_
transform
1.91.0-nightly
(7ad23f43a 2025-09-09)
Module from_
mir
Module Items
Structs
Functions
In rustc_
mir_
transform::
coverage::
spans
rustc_mir_transform
::
coverage
::
spans
Module
from_
mir
Copy item path
Source
Structs
ยง
Hole
๐
RawSpan
From
Mir
๐
Functions
ยง
extract_
raw_
spans_
from_
mir
๐
Generates an initial set of coverage spans from the statements and terminators in the functionโs MIR body, each associated with its corresponding node in the coverage graph.
filtered_
statement_
span
๐
If the MIR
Statement
has a span contributive to computing coverage spans, return it; otherwise return
None
.
filtered_
terminator_
span
๐
If the MIR
Terminator
has a span contributive to computing coverage spans, return it; otherwise return
None
.