We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9521219 commit 7e9be92Copy full SHA for 7e9be92
1 file changed
compiler/rustc_macros/src/diagnostics/diagnostic.rs
@@ -360,10 +360,10 @@ impl SessionDiagnosticDeriveBuilder {
360
Ok(tokens.drain(..).collect())
361
}
362
363
- fn generate_field_attrs_code<'a>(
364
- &'a mut self,
365
- attrs: &'a [syn::Attribute],
366
- info: FieldInfo<'a>,
+ fn generate_field_attrs_code(
+ &mut self,
+ attrs: &[syn::Attribute],
+ info: FieldInfo<'_>,
367
) -> TokenStream {
368
let field_binding = &info.binding.binding;
369
0 commit comments