pub fn const_value_to_constant_expr<'tcx, S: UnderOwnerState<'tcx>>(
s: &S,
ty: Ty<'tcx>,
val: ConstValue,
span: Span,
) -> InterpResult<'tcx, ConstantExpr>pub fn const_value_to_constant_expr<'tcx, S: UnderOwnerState<'tcx>>(
s: &S,
ty: Ty<'tcx>,
val: ConstValue,
span: Span,
) -> InterpResult<'tcx, ConstantExpr>