Lines Matching refs:generics
33 generics: &'a Generics,
44 let generics = match self { in lifetimes() localVariable
45 Context::Trait { generics, .. } => generics, in lifetimes()
48 generics.params.iter().filter(move |param| { in lifetimes()
64 generics: &input.generics, in expand()
91 let params = &input.generics.params; in expand()
93 input.generics.params = parse_quote!(#(#elided,)* #params); in expand()
105 impl_generics: &input.generics, in expand()
186 .generics in transform_sig()
195 where_clause_or_default(&mut sig.generics.where_clause) in transform_sig()
202 where_clause_or_default(&mut sig.generics.where_clause) in transform_sig()
210 if sig.generics.lt_token.is_none() { in transform_sig()
211 sig.generics.lt_token = Some(Token![<](sig.ident.span())); in transform_sig()
213 if sig.generics.gt_token.is_none() { in transform_sig()
214 sig.generics.gt_token = Some(Token![>](sig.paren_token.span)); in transform_sig()
218 sig.generics.params.push(parse_quote!(#elided)); in transform_sig()
219 where_clause_or_default(&mut sig.generics.where_clause) in transform_sig()
224 sig.generics in transform_sig()
254 let where_clause = where_clause_or_default(&mut sig.generics.where_clause); in transform_sig()