Auto merge of #5195 - JohnTitor:rustup-take2, r=matthiaskrgr
Rustup to rust-lang/rust#69194 changelog: none
This commit is contained in:
commit
2855b21439
|
@ -162,7 +162,7 @@ impl EarlyLintPass for ExcessiveBools {
|
||||||
}
|
}
|
||||||
| ItemKind::Trait(_, _, _, _, items) => {
|
| ItemKind::Trait(_, _, _, _, items) => {
|
||||||
for item in 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);
|
self.check_fn_sig(cx, fn_sig, item.span);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -358,7 +358,7 @@ impl EarlyLintPass for NonExpressiveNames {
|
||||||
}
|
}
|
||||||
|
|
||||||
fn check_impl_item(&mut self, cx: &EarlyContext<'_>, item: &AssocItem) {
|
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);
|
do_check(self, cx, &item.attrs, &sig.decl, blk);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue