rustc_
mir_
transform
1.87.0-nightly
(920d95eaf 2025-03-28)
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
π
Span
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
.