Upgrade to rustc 1.52.0-nightly (a8486b64b 2021-02-24)

This commit is contained in:
Simon Sapin 2021-02-25 10:30:33 +01:00
parent 479a42a980
commit aa854ec2d2
3 changed files with 3 additions and 2 deletions

View file

@ -4,6 +4,7 @@
#![feature(assoc_char_funcs)]
#![feature(const_fn)]
#![feature(const_fn_fn_ptr_basics)]
#![feature(core_intrinsics)]
#![feature(drain_filter)]
#![feature(plugin)]

View file

@ -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

View file

@ -1 +1 @@
nightly-2020-09-27
nightly-2021-02-25