Skip to content

Commit 1c7af70

Browse files
committed
fix clippy
1 parent c747e71 commit 1c7af70

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -382,6 +382,7 @@ pub fn eq_item_kind(l: &ItemKind, r: &ItemKind) -> bool {
382382
contract: lc,
383383
body: lb,
384384
define_opaque: _,
385+
eii_impl: _,
385386
}),
386387
Fn(box ast::Fn {
387388
defaultness: rd,
@@ -391,6 +392,7 @@ pub fn eq_item_kind(l: &ItemKind, r: &ItemKind) -> bool {
391392
contract: rc,
392393
body: rb,
393394
define_opaque: _,
395+
eii_impl: _,
394396
}),
395397
) => {
396398
eq_defaultness(*ld, *rd)
@@ -539,6 +541,7 @@ pub fn eq_foreign_item_kind(l: &ForeignItemKind, r: &ForeignItemKind) -> bool {
539541
contract: lc,
540542
body: lb,
541543
define_opaque: _,
544+
eii_impl: _,
542545
}),
543546
Fn(box ast::Fn {
544547
defaultness: rd,
@@ -548,6 +551,7 @@ pub fn eq_foreign_item_kind(l: &ForeignItemKind, r: &ForeignItemKind) -> bool {
548551
contract: rc,
549552
body: rb,
550553
define_opaque: _,
554+
eii_impl: _,
551555
}),
552556
) => {
553557
eq_defaultness(*ld, *rd)
@@ -622,6 +626,7 @@ pub fn eq_assoc_item_kind(l: &AssocItemKind, r: &AssocItemKind) -> bool {
622626
contract: lc,
623627
body: lb,
624628
define_opaque: _,
629+
eii_impl: _,
625630
}),
626631
Fn(box ast::Fn {
627632
defaultness: rd,
@@ -631,6 +636,7 @@ pub fn eq_assoc_item_kind(l: &AssocItemKind, r: &AssocItemKind) -> bool {
631636
contract: rc,
632637
body: rb,
633638
define_opaque: _,
639+
eii_impl: _,
634640
}),
635641
) => {
636642
eq_defaultness(*ld, *rd)

0 commit comments

Comments
 (0)