Function rustc_mir_build::build::construct_const[−][src]

fn construct_const<'a, 'tcx>(
    infcx: &'a InferCtxt<'a, 'tcx>,
    expr: &Expr<'_, 'tcx>,
    def: WithOptConstParam<LocalDefId>,
    hir_id: HirId,
    const_ty: Ty<'tcx>,
    const_ty_span: Span
) -> Body<'tcx>