Skip to main content

erase_all_generic_params

Function erase_all_generic_params 

Source
pub(crate) fn erase_all_generic_params(
    ty: &Type,
    generic_names: &[Ident],
) -> Type
Expand description

Erases all generic type parameters from a type, replacing each with Datum<'a>.