Don't name unused ExpnKind::Macro fields in components/script_plugins

Co-authored-by: Simon Sapin <simon.sapin@exyr.org>
This commit is contained in:
Dominic Cooney 2021-05-22 23:47:27 +09:00 committed by GitHub
parent a68c336e55
commit 0955b686ed
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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: _,
..
}
)
}