rustc_mir_transform::coverage::mappings - Rust (original) (raw)
Structs§
This is separate from MCDCBranch to 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.)
Associates an ordinary executable code span with its corresponding BCB.
Associates an MC/DC branch span with condition info besides fields for normal branch.
Associates an MC/DC decision with its join BCBs.
Constants§
Functions§
extract_all_mapping_info_from_mir 🔒
Extracts coverage-relevant spans from MIR, and associates them with their corresponding BCBs.