Function rustc_mir_build::build::construct_const
source · fn construct_const<'a, 'tcx>(
tcx: TyCtxt<'tcx>,
def: LocalDefId,
thir: &'a Thir<'tcx>,
expr: ExprId,
const_ty: Ty<'tcx>
) -> Body<'tcx>
fn construct_const<'a, 'tcx>(
tcx: TyCtxt<'tcx>,
def: LocalDefId,
thir: &'a Thir<'tcx>,
expr: ExprId,
const_ty: Ty<'tcx>
) -> Body<'tcx>