From 79c0cf0cc9b2afcf59e533e633dd9e61065307e5 Mon Sep 17 00:00:00 2001 From: Yuki Okushi Date: Wed, 19 Feb 2020 10:43:49 +0900 Subject: [PATCH] Rustup to rust-lang/rust#69194 --- clippy_lints/src/excessive_bools.rs | 2 +- clippy_lints/src/non_expressive_names.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/clippy_lints/src/excessive_bools.rs b/clippy_lints/src/excessive_bools.rs index a1bfb0a71..aa91ab3bc 100644 --- a/clippy_lints/src/excessive_bools.rs +++ b/clippy_lints/src/excessive_bools.rs @@ -162,7 +162,7 @@ impl EarlyLintPass for ExcessiveBools { } | ItemKind::Trait(_, _, _, _, items) => { for item in items { - if let AssocItemKind::Fn(fn_sig, _) = &item.kind { + if let AssocItemKind::Fn(fn_sig, _, _) = &item.kind { self.check_fn_sig(cx, fn_sig, item.span); } } diff --git a/clippy_lints/src/non_expressive_names.rs b/clippy_lints/src/non_expressive_names.rs index 2a7fbe6c0..5411e3246 100644 --- a/clippy_lints/src/non_expressive_names.rs +++ b/clippy_lints/src/non_expressive_names.rs @@ -358,7 +358,7 @@ impl EarlyLintPass for NonExpressiveNames { } fn check_impl_item(&mut self, cx: &EarlyContext<'_>, item: &AssocItem) { - if let AssocItemKind::Fn(ref sig, Some(ref blk)) = item.kind { + if let AssocItemKind::Fn(ref sig, _, Some(ref blk)) = item.kind { do_check(self, cx, &item.attrs, &sig.decl, blk); } }