fn construct_const<'a, 'tcx>(
    tcx: TyCtxt<'tcx>,
    def: WithOptConstParam<LocalDefId>,
    thir: &'a Thir<'tcx>,
    expr: ExprId
) -> Body<'tcx>