fn rewrite_generics( context: &RewriteContext<'_>, ident: &str, generics: &Generics, shape: Shape) -> Option<String>