Module rustc_mir_transform::coverage::counters
source · Structs§
- Generates and stores coverage counter and coverage expression information associated with nodes/edges in the BCB graph.
- Traverse the
CoverageGraphand add either aCounterorExpressionto every BCB, to be injected with coverage spans.Expressionshave no runtime overhead, so if a viable expression (adding or subtracting two other counters or expressions) can compute the same result as an embedded counter, anExpressionshould be used.
Enums§
- The coverage counter or counter expression associated with a particular BCB node or BCB edge.