Skip to content

Commit 7e82fab

Browse files
committed
Fix tools
1 parent 73f7a4d commit 7e82fab

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -457,6 +457,7 @@ pub fn eq_item_kind(l: &ItemKind, r: &ItemKind) -> bool {
457457
generics: lg,
458458
bounds: lb,
459459
items: lis,
460+
on_unimplemented: _,
460461
}),
461462
Trait(box ast::Trait {
462463
impl_restriction: riprt,
@@ -467,6 +468,7 @@ pub fn eq_item_kind(l: &ItemKind, r: &ItemKind) -> bool {
467468
generics: rg,
468469
bounds: rb,
469470
items: ris,
471+
on_unimplemented: _,
470472
}),
471473
) => {
472474
eq_impl_restriction(liprt, riprt)

src/tools/rustfmt/src/items.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1163,6 +1163,7 @@ pub(crate) fn format_trait(
11631163
ref generics,
11641164
ref bounds,
11651165
ref items,
1166+
on_unimplemented: _,
11661167
} = *trait_;
11671168

11681169
let mut result = String::with_capacity(128);

0 commit comments

Comments
 (0)