From 0955b686ede427ae6e8bde7196cd07c832640607 Mon Sep 17 00:00:00 2001 From: Dominic Cooney Date: Sat, 22 May 2021 23:47:27 +0900 Subject: [PATCH] Don't name unused ExpnKind::Macro fields in components/script_plugins Co-authored-by: Simon Sapin --- components/script_plugins/lib.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/components/script_plugins/lib.rs b/components/script_plugins/lib.rs index a42eb96bf23..c1dc92abb09 100644 --- a/components/script_plugins/lib.rs +++ b/components/script_plugins/lib.rs @@ -407,8 +407,7 @@ fn in_derive_expn(span: Span) -> bool { span.ctxt().outer_expn_data().kind, ExpnKind::Macro { kind: MacroKind::Derive, - name: _, - proc_macro: _, + .. } ) }