build_mir_inner_impl

Function build_mir_inner_impl 

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

Create the MIR for a given DefId, including unreachable code.

This is the implementation of hook build_mir_inner_impl, which should only be called by the query mir_built.