Module from_mir
rustc_
mir_
transform
1.93.0-nightly
(c871d09d1 2025-11-24)
Module from_
mir
Module Items
Structs
Functions
In rustc_
mir_
transform::
coverage
rustc_mir_transform
::
coverage
Module
from_
mir
Copy item path
Source
Structs
§
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
.