aboutsummaryrefslogtreecommitdiffstats
path: root/components/script_plugins
diff options
context:
space:
mode:
authorJosh Matthews <josh@joshmatthews.net>2021-07-17 16:41:38 -0400
committerJosh Matthews <josh@joshmatthews.net>2021-07-17 16:41:38 -0400
commit8d5dd66ed36e19e6edf3415b41f6691e3c86175c (patch)
tree3937cf98f8416e05adfccd3fa92945594f7b651d /components/script_plugins
parent1522befabbc36735649be6ff98f74292706ce014 (diff)
downloadservo-8d5dd66ed36e19e6edf3415b41f6691e3c86175c.tar.gz
servo-8d5dd66ed36e19e6edf3415b41f6691e3c86175c.zip
Update to 7/17 nightly.
Diffstat (limited to 'components/script_plugins')
-rw-r--r--components/script_plugins/lib.rs5
1 files changed, 1 insertions, 4 deletions
diff --git a/components/script_plugins/lib.rs b/components/script_plugins/lib.rs
index c1dc92abb09..128bec6b6c7 100644
--- a/components/script_plugins/lib.rs
+++ b/components/script_plugins/lib.rs
@@ -405,10 +405,7 @@ fn match_def_path(cx: &LateContext, def_id: DefId, path: &[Symbol]) -> bool {
fn in_derive_expn(span: Span) -> bool {
matches!(
span.ctxt().outer_expn_data().kind,
- ExpnKind::Macro {
- kind: MacroKind::Derive,
- ..
- }
+ ExpnKind::Macro(MacroKind::Derive, ..)
)
}