rustc_borrowck::polonius::dump

Function emit_polonius_mir

Source
fn emit_polonius_mir<'tcx>(
    tcx: TyCtxt<'tcx>,
    regioncx: &RegionInferenceContext<'tcx>,
    closure_region_requirements: &Option<ClosureRegionRequirements<'tcx>>,
    borrow_set: &BorrowSet<'tcx>,
    localized_outlives_constraints: &LocalizedOutlivesConstraintSet,
    pass_where: PassWhere,
    out: &mut dyn Write,
) -> Result<()>
Expand description

Produces the actual NLL + Polonius MIR sections to emit during the dumping process.