Function build_mir

Source
pub fn build_mir<'tcx>(tcx: TyCtxt<'tcx>, def: LocalDefId) -> Body<'tcx>
Expand description

Create the MIR for a given DefId, including unreachable code. Do not call this directly; instead use the cached version via mir_built.