Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit 61ed0bc

Browse files
committed
recursion_limit my beloathed
1 parent 24503e4 commit 61ed0bc

File tree

30 files changed

+30
-29
lines changed

30 files changed

+30
-29
lines changed

compiler/rustc_ast/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
77
// tidy-alphabetical-start
88
#![allow(internal_features)]
9-
#![cfg_attr(doc, recursion_limit = "256")] // FIXME(nnethercote): will be removed by #124141
9+
#![recursion_limit = "256"] // FIXME(nnethercote): will be removed by #124141
1010
#![doc(
1111
html_root_url = "https://doc.rust-lang.org/nightly/nightly-rustc/",
1212
test(attr(deny(warnings)))

compiler/rustc_ast_lowering/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
3333
// tidy-alphabetical-start
3434
#![allow(internal_features)]
35-
#![cfg_attr(doc, recursion_limit = "256")] // FIXME(nnethercote): will be removed by #124141
35+
#![recursion_limit = "256"] // FIXME(nnethercote): will be removed by #124141
3636
#![doc(rust_logo)]
3737
#![feature(assert_matches)]
3838
#![feature(box_patterns)]

compiler/rustc_attr_parsing/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@
7777
7878
// tidy-alphabetical-start
7979
#![allow(internal_features)]
80-
#![cfg_attr(doc, recursion_limit = "256")] // FIXME(nnethercote): will be removed by #124141
80+
#![recursion_limit = "256"] // FIXME(nnethercote): will be removed by #124141
8181
#![doc(rust_logo)]
8282
#![feature(let_chains)]
8383
#![feature(rustdoc_internals)]

compiler/rustc_borrowck/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
33
// tidy-alphabetical-start
44
#![allow(internal_features)]
5-
#![cfg_attr(doc, recursion_limit = "256")] // FIXME(nnethercote): will be removed by #124141
5+
#![recursion_limit = "256"] // FIXME(nnethercote): will be removed by #124141
66
#![doc(rust_logo)]
77
#![feature(assert_matches)]
88
#![feature(box_patterns)]

compiler/rustc_builtin_macros/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
#![allow(internal_features)]
66
#![allow(rustc::diagnostic_outside_of_impl)]
77
#![allow(rustc::untranslatable_diagnostic)]
8-
#![cfg_attr(doc, recursion_limit = "256")] // FIXME(nnethercote): will be removed by #124141
8+
#![recursion_limit = "256"] // FIXME(nnethercote): will be removed by #124141
99
#![doc(html_root_url = "https://doc.rust-lang.org/nightly/nightly-rustc/")]
1010
#![doc(rust_logo)]
1111
#![feature(assert_matches)]

compiler/rustc_codegen_ssa/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#![allow(internal_features)]
33
#![allow(rustc::diagnostic_outside_of_impl)]
44
#![allow(rustc::untranslatable_diagnostic)]
5-
#![cfg_attr(doc, recursion_limit = "256")] // FIXME(nnethercote): will be removed by #124141
5+
#![recursion_limit = "256"] // FIXME(nnethercote): will be removed by #124141
66
#![doc(html_root_url = "https://doc.rust-lang.org/nightly/nightly-rustc/")]
77
#![doc(rust_logo)]
88
#![feature(assert_matches)]

compiler/rustc_const_eval/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// tidy-alphabetical-start
22
#![allow(internal_features)]
33
#![allow(rustc::diagnostic_outside_of_impl)]
4-
#![cfg_attr(doc, recursion_limit = "256")] // FIXME(nnethercote): will be removed by #124141
4+
#![recursion_limit = "256"] // FIXME(nnethercote): will be removed by #124141
55
#![doc(rust_logo)]
66
#![feature(assert_matches)]
77
#![feature(box_patterns)]

compiler/rustc_driver/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
// tidy-alphabetical-start
55
#![allow(internal_features)]
6-
#![cfg_attr(doc, recursion_limit = "256")] // FIXME(nnethercote): will be removed by #124141
6+
#![recursion_limit = "256"] // FIXME(nnethercote): will be removed by #124141
77
#![doc(rust_logo)]
88
#![feature(rustdoc_internals)]
99
// tidy-alphabetical-end

compiler/rustc_driver_impl/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
// tidy-alphabetical-start
88
#![allow(internal_features)]
99
#![allow(rustc::untranslatable_diagnostic)] // FIXME: make this translatable
10-
#![cfg_attr(doc, recursion_limit = "256")] // FIXME(nnethercote): will be removed by #124141
10+
#![recursion_limit = "256"] // FIXME(nnethercote): will be removed by #124141
1111
#![doc(html_root_url = "https://doc.rust-lang.org/nightly/nightly-rustc/")]
1212
#![doc(rust_logo)]
1313
#![feature(decl_macro)]

compiler/rustc_expand/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
#![allow(internal_features)]
33
#![allow(rustc::diagnostic_outside_of_impl)]
44
#![doc(rust_logo)]
5+
#![recursion_limit = "256"]
56
#![feature(array_windows)]
67
#![feature(associated_type_defaults)]
78
#![feature(if_let_guard)]

0 commit comments

Comments
 (0)