rustc_mir_transform::coverage::mappings

Function extract_mcdc_mappings

Source
pub(super) fn extract_mcdc_mappings(
    mir_body: &Body<'_>,
    tcx: TyCtxt<'_>,
    body_span: Span,
    basic_coverage_blocks: &CoverageGraph,
    mcdc_bitmap_bits: &mut usize,
    mcdc_degraded_branches: &mut impl Extend<MCDCBranch>,
    mcdc_mappings: &mut impl Extend<(MCDCDecision, Vec<MCDCBranch>)>,
)