hir::mir

Function lower_to_mir

pub fn lower_to_mir(
    db: &dyn HirDatabase,
    owner: DefWithBodyId,
    body: &Body,
    infer: &InferenceResult,
    root_expr: Idx<Expr>,
) -> Result<MirBody, MirLowerError>