Skip to content

Commit 2855b21

Browse files
committed
Auto merge of #5195 - JohnTitor:rustup-take2, r=matthiaskrgr
Rustup to #69194 changelog: none
2 parents fe0f6c6 + 79c0cf0 commit 2855b21

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

clippy_lints/src/excessive_bools.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ impl EarlyLintPass for ExcessiveBools {
162162
}
163163
| ItemKind::Trait(_, _, _, _, items) => {
164164
for item in items {
165-
if let AssocItemKind::Fn(fn_sig, _) = &item.kind {
165+
if let AssocItemKind::Fn(fn_sig, _, _) = &item.kind {
166166
self.check_fn_sig(cx, fn_sig, item.span);
167167
}
168168
}

clippy_lints/src/non_expressive_names.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,7 @@ impl EarlyLintPass for NonExpressiveNames {
358358
}
359359

360360
fn check_impl_item(&mut self, cx: &EarlyContext<'_>, item: &AssocItem) {
361-
if let AssocItemKind::Fn(ref sig, Some(ref blk)) = item.kind {
361+
if let AssocItemKind::Fn(ref sig, _, Some(ref blk)) = item.kind {
362362
do_check(self, cx, &item.attrs, &sig.decl, blk);
363363
}
364364
}

0 commit comments

Comments
 (0)