Skip to content

Commit 39ebf6a

Browse files
committed
fix clippy
1 parent bc1af76 commit 39ebf6a

File tree

1 file changed

+6
-0
lines changed
  • src/tools/clippy/clippy_utils/src/ast_utils

1 file changed

+6
-0
lines changed

src/tools/clippy/clippy_utils/src/ast_utils/mod.rs

+6
Original file line numberDiff line numberDiff line change
@@ -384,6 +384,7 @@ pub fn eq_item_kind(l: &ItemKind, r: &ItemKind) -> bool {
384384
contract: lc,
385385
body: lb,
386386
define_opaque: _,
387+
eii_impl: _,
387388
}),
388389
Fn(box ast::Fn {
389390
defaultness: rd,
@@ -393,6 +394,7 @@ pub fn eq_item_kind(l: &ItemKind, r: &ItemKind) -> bool {
393394
contract: rc,
394395
body: rb,
395396
define_opaque: _,
397+
eii_impl: _,
396398
}),
397399
) => {
398400
eq_defaultness(*ld, *rd)
@@ -547,6 +549,7 @@ pub fn eq_foreign_item_kind(l: &ForeignItemKind, r: &ForeignItemKind) -> bool {
547549
contract: lc,
548550
body: lb,
549551
define_opaque: _,
552+
eii_impl: _,
550553
}),
551554
Fn(box ast::Fn {
552555
defaultness: rd,
@@ -556,6 +559,7 @@ pub fn eq_foreign_item_kind(l: &ForeignItemKind, r: &ForeignItemKind) -> bool {
556559
contract: rc,
557560
body: rb,
558561
define_opaque: _,
562+
eii_impl: _,
559563
}),
560564
) => {
561565
eq_defaultness(*ld, *rd)
@@ -630,6 +634,7 @@ pub fn eq_assoc_item_kind(l: &AssocItemKind, r: &AssocItemKind) -> bool {
630634
contract: lc,
631635
body: lb,
632636
define_opaque: _,
637+
eii_impl: _,
633638
}),
634639
Fn(box ast::Fn {
635640
defaultness: rd,
@@ -639,6 +644,7 @@ pub fn eq_assoc_item_kind(l: &AssocItemKind, r: &AssocItemKind) -> bool {
639644
contract: rc,
640645
body: rb,
641646
define_opaque: _,
647+
eii_impl: _,
642648
}),
643649
) => {
644650
eq_defaultness(*ld, *rd)

0 commit comments

Comments
 (0)