Function hir_ty::consteval::intern_const_scalar

source ยท
pub fn intern_const_scalar(value: ConstScalar, ty: Ty) -> Const
Expand description

Interns a constant scalar with the given type