mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 06:44:35 +00:00
remove unnecessary generics
This commit is contained in:
parent
952121933e
commit
7e9be9240c
@ -360,10 +360,10 @@ impl SessionDiagnosticDeriveBuilder {
|
||||
Ok(tokens.drain(..).collect())
|
||||
}
|
||||
|
||||
fn generate_field_attrs_code<'a>(
|
||||
&'a mut self,
|
||||
attrs: &'a [syn::Attribute],
|
||||
info: FieldInfo<'a>,
|
||||
fn generate_field_attrs_code(
|
||||
&mut self,
|
||||
attrs: &[syn::Attribute],
|
||||
info: FieldInfo<'_>,
|
||||
) -> TokenStream {
|
||||
let field_binding = &info.binding.binding;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user