fn mir_body<'tcx>(tcx: TyCtxt<'tcx>, def_id: DefId) -> &'tcx Body<'tcx>
Expand description

This function ensures we obtain the correct MIR for the given item irrespective of whether that means const mir or runtime mir. For const fn this opts for runtime mir.