Module rustc_middle::mir::coverage
source · Expand description
Metadata from source code coverage analysis and instrumentation.
Structs§
- Used by
CoverageKind::BlockMarker
to mark blocks during THIR-to-MIR lowering, so that those blocks can be identified later. - Branch information recorded during THIR-to-MIR lowering, and stored in MIR.
- ID of a coverage counter. Values ascend from 0.
- ID of a coverage-counter expression. Values ascend from 0.
- Stores per-function coverage information attached to a
mir::Body
, to be used in conjunction with the individual coverage statements injected into the function’s basic blocks.
Enums§
- Enum that can hold a constant zero value, the ID of an physical coverage counter, or the ID of a coverage-counter expression.