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
CoverageGraph
and add either aCounter
orExpression
to every BCB, to be injected with coverage spans.Expressions
have 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, anExpression
should be used.
Enums§
- The coverage counter or counter expression associated with a particular BCB node or BCB edge.