Function get_promoted_mir

Source
pub fn get_promoted_mir<'tcx>(
    tcx: TyCtxt<'tcx>,
    def_id: RDefId,
    promoted_id: Promoted,
) -> Body<'tcx>
Expand description

Retrieve the MIR for a promoted body.