rustc_builtin_macros::deriving::generic::ty

Function mk_ty_param

Source
fn mk_ty_param(
    cx: &ExtCtxt<'_>,
    span: Span,
    name: Symbol,
    bounds: &[Path],
    self_ident: Ident,
    self_generics: &Generics,
) -> GenericParam