pub fn nonzero_ty(
context: &dyn SignatureSpecializationContext,
ty: &ConcreteTypeId,
) -> Result<ConcreteTypeId, SpecializationError>
Expand description
Returns the type NonZero<T>
for a given type T
.
pub fn nonzero_ty(
context: &dyn SignatureSpecializationContext,
ty: &ConcreteTypeId,
) -> Result<ConcreteTypeId, SpecializationError>
Returns the type NonZero<T>
for a given type T
.