Module rustc_mir_transform::coverage::spans
source · Modules§
- from_mir 🔒
Structs§
- This is separate from
BcbMappingKindto help prepare for larger changes that will be needed for improved branch coverage in the future. (See https://github.com/rust-lang/rust/pull/124217.) - Converts the initial set of coverage spans (one per MIR
StatementorTerminator) into a minimal set of coverage spans, using the BCB CFG to determine where it is safe and useful to:
Enums§
Functions§
- Extracts coverage-relevant spans from MIR, and associates them with their corresponding BCBs.