Skip to content

Commit 4bc8adf

Browse files
committed
Fix tools
1 parent d5e3d32 commit 4bc8adf

3 files changed

Lines changed: 4 additions & 0 deletions

File tree

compiler/rustc_expand/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
#![feature(proc_macro_internals)]
88
#![feature(try_blocks)]
99
#![feature(yeet_expr)]
10+
#![recursion_limit = "256"] // For rustdoc
1011
// tidy-alphabetical-end
1112

1213
mod build;

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)