aboutsummaryrefslogtreecommitdiffstats
path: root/components/script_plugins
diff options
context:
space:
mode:
authorSimon Sapin <simon.sapin@exyr.org>2021-02-25 10:30:33 +0100
committerSimon Sapin <simon.sapin@exyr.org>2021-02-25 20:31:43 +0100
commitaa854ec2d27a9705fdd5c759bab80a9882fe4f45 (patch)
tree465ef36322d01574fffab50b297594f2d3a6334f /components/script_plugins
parent479a42a980e77ffc17559fd0e2a86fb4b6f3d6e8 (diff)
downloadservo-aa854ec2d27a9705fdd5c759bab80a9882fe4f45.tar.gz
servo-aa854ec2d27a9705fdd5c759bab80a9882fe4f45.zip
Upgrade to rustc 1.52.0-nightly (a8486b64b 2021-02-24)
Diffstat (limited to 'components/script_plugins')
-rw-r--r--components/script_plugins/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script_plugins/lib.rs b/components/script_plugins/lib.rs
index 5259366c7fd..211b6117781 100644
--- a/components/script_plugins/lib.rs
+++ b/components/script_plugins/lib.rs
@@ -90,7 +90,7 @@ fn has_lint_attr(sym: &Symbols, attrs: &[Attribute], name: Symbol) -> bool {
attrs.iter().any(|attr| {
matches!(
&attr.kind,
- AttrKind::Normal(attr_item)
+ AttrKind::Normal(attr_item, _)
if attr_item.path.segments.len() == 2 &&
attr_item.path.segments[0].ident.name == sym.unrooted_must_root_lint &&
attr_item.path.segments[1].ident.name == name