aboutsummaryrefslogtreecommitdiffstats
path: root/components/script_plugins/lib.rs
diff options
context:
space:
mode:
authorDominic Cooney <dominic.cooney@gmail.com>2021-05-22 23:47:27 +0900
committerGitHub <noreply@github.com>2021-05-22 23:47:27 +0900
commit0955b686ede427ae6e8bde7196cd07c832640607 (patch)
treef02ad3718bc9c8d4b4efadd6bf8cd1676e45c26d /components/script_plugins/lib.rs
parenta68c336e55ff0246a8846bb346243559583f1ca4 (diff)
downloadservo-0955b686ede427ae6e8bde7196cd07c832640607.tar.gz
servo-0955b686ede427ae6e8bde7196cd07c832640607.zip
Don't name unused ExpnKind::Macro fields in components/script_plugins
Co-authored-by: Simon Sapin <simon.sapin@exyr.org>
Diffstat (limited to 'components/script_plugins/lib.rs')
-rw-r--r--components/script_plugins/lib.rs3
1 files changed, 1 insertions, 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: _,
+ ..
}
)
}