Skip to content

Commit 6fc6e2d

Browse files
committed
recursion_limit my beloathed
1 parent 811efd4 commit 6fc6e2d

File tree

30 files changed

+30
-29
lines changed

30 files changed

+30
-29
lines changed

compiler/rustc_ast/src/lib.rs

+1-1
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

+1-1
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

+1-1
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

+1-1
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

+1-1
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

+1-1
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

+1-1
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

+1-1
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

+1-1
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

+1
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)]

compiler/rustc_hir/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
55
// tidy-alphabetical-start
66
#![allow(internal_features)]
7-
#![cfg_attr(doc, recursion_limit = "256")] // FIXME(nnethercote): will be removed by #124141
7+
#![recursion_limit = "256"] // FIXME(nnethercote): will be removed by #124141
88
#![feature(associated_type_defaults)]
99
#![feature(box_patterns)]
1010
#![feature(closure_track_caller)]

compiler/rustc_hir_analysis/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ This API is completely unstable and subject to change.
5959
#![allow(internal_features)]
6060
#![allow(rustc::diagnostic_outside_of_impl)]
6161
#![allow(rustc::untranslatable_diagnostic)]
62-
#![cfg_attr(doc, recursion_limit = "256")] // FIXME(nnethercote): will be removed by #124141
62+
#![recursion_limit = "256"] // FIXME(nnethercote): will be removed by #124141
6363
#![doc(html_root_url = "https://doc.rust-lang.org/nightly/nightly-rustc/")]
6464
#![doc(rust_logo)]
6565
#![feature(assert_matches)]

compiler/rustc_hir_typeck/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// tidy-alphabetical-start
22
#![allow(rustc::diagnostic_outside_of_impl)]
33
#![allow(rustc::untranslatable_diagnostic)]
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
#![feature(array_windows)]
66
#![feature(box_patterns)]
77
#![feature(if_let_guard)]

compiler/rustc_incremental/src/lib.rs

+1-1
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
#![deny(missing_docs)]
77
#![doc(html_root_url = "https://doc.rust-lang.org/nightly/nightly-rustc/")]
88
#![doc(rust_logo)]

compiler/rustc_lint/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
2222
// tidy-alphabetical-start
2323
#![allow(internal_features)]
24-
#![cfg_attr(doc, recursion_limit = "256")] // FIXME(nnethercote): will be removed by #124141
24+
#![recursion_limit = "256"] // FIXME(nnethercote): will be removed by #124141
2525
#![doc(html_root_url = "https://doc.rust-lang.org/nightly/nightly-rustc/")]
2626
#![doc(rust_logo)]
2727
#![feature(array_windows)]

compiler/rustc_metadata/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// tidy-alphabetical-start
22
#![allow(internal_features)]
3-
#![cfg_attr(doc, recursion_limit = "256")] // FIXME(nnethercote): will be removed by #124141
3+
#![recursion_limit = "256"] // FIXME(nnethercote): will be removed by #124141
44
#![doc(html_root_url = "https://doc.rust-lang.org/nightly/nightly-rustc/")]
55
#![doc(rust_logo)]
66
#![feature(coroutines)]

compiler/rustc_middle/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
#![allow(rustc::diagnostic_outside_of_impl)]
3030
#![allow(rustc::potential_query_instability)]
3131
#![allow(rustc::untranslatable_diagnostic)]
32-
#![cfg_attr(doc, recursion_limit = "256")] // FIXME(nnethercote): will be removed by #124141
32+
#![recursion_limit = "256"] // FIXME(nnethercote): will be removed by #124141
3333
#![doc(html_root_url = "https://doc.rust-lang.org/nightly/nightly-rustc/")]
3434
#![doc(rust_logo)]
3535
#![feature(allocator_api)]

compiler/rustc_mir_build/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// tidy-alphabetical-start
44
#![allow(rustc::diagnostic_outside_of_impl)]
55
#![allow(rustc::untranslatable_diagnostic)]
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
#![feature(assert_matches)]
88
#![feature(box_patterns)]
99
#![feature(if_let_guard)]

compiler/rustc_mir_dataflow/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// tidy-alphabetical-start
2-
#![cfg_attr(doc, recursion_limit = "256")] // FIXME(nnethercote): will be removed by #124141
2+
#![recursion_limit = "256"] // FIXME(nnethercote): will be removed by #124141
33
#![feature(assert_matches)]
44
#![feature(associated_type_defaults)]
55
#![feature(box_patterns)]

compiler/rustc_mir_transform/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// tidy-alphabetical-start
2-
#![cfg_attr(doc, recursion_limit = "256")] // FIXME(nnethercote): will be removed by #124141
2+
#![recursion_limit = "256"] // FIXME(nnethercote): will be removed by #124141
33
#![feature(array_windows)]
44
#![feature(assert_matches)]
55
#![feature(box_patterns)]

compiler/rustc_monomorphize/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// tidy-alphabetical-start
2-
#![cfg_attr(doc, recursion_limit = "256")] // FIXME(nnethercote): will be removed by #124141
2+
#![recursion_limit = "256"] // FIXME(nnethercote): will be removed by #124141
33
#![feature(array_windows)]
44
#![feature(file_buffered)]
55
#![feature(if_let_guard)]

compiler/rustc_parse/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#![allow(internal_features)]
55
#![allow(rustc::diagnostic_outside_of_impl)]
66
#![allow(rustc::untranslatable_diagnostic)]
7-
#![cfg_attr(doc, recursion_limit = "256")] // FIXME(nnethercote): will be removed by #124141
7+
#![recursion_limit = "256"] // FIXME(nnethercote): will be removed by #124141
88
#![feature(array_windows)]
99
#![feature(assert_matches)]
1010
#![feature(box_patterns)]

compiler/rustc_passes/src/lib.rs

+1-1
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(html_root_url = "https://doc.rust-lang.org/nightly/nightly-rustc/")]
1111
#![doc(rust_logo)]
1212
#![feature(let_chains)]

compiler/rustc_privacy/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// tidy-alphabetical-start
22
#![allow(internal_features)]
3-
#![cfg_attr(doc, recursion_limit = "256")] // FIXME(nnethercote): will be removed by #124141
3+
#![recursion_limit = "256"] // FIXME(nnethercote): will be removed by #124141
44
#![doc(html_root_url = "https://doc.rust-lang.org/nightly/nightly-rustc/")]
55
#![doc(rust_logo)]
66
#![feature(associated_type_defaults)]

compiler/rustc_query_impl/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// tidy-alphabetical-start
44
#![allow(internal_features)]
55
#![allow(unused_parens)]
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(html_root_url = "https://doc.rust-lang.org/nightly/nightly-rustc/")]
88
#![doc(rust_logo)]
99
#![feature(min_specialization)]

compiler/rustc_sanitizers/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
//! compiler.
55
66
// tidy-alphabetical-start
7-
#![cfg_attr(doc, recursion_limit = "256")] // FIXME(nnethercote): will be removed by #124141
7+
#![recursion_limit = "256"] // FIXME(nnethercote): will be removed by #124141
88
#![feature(let_chains)]
99
// tidy-alphabetical-end
1010

compiler/rustc_smir/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
// tidy-alphabetical-start
1010
#![allow(internal_features)]
1111
#![allow(rustc::usage_of_ty_tykind)]
12-
#![cfg_attr(doc, recursion_limit = "256")] // FIXME(nnethercote): will be removed by #124141
12+
#![recursion_limit = "256"] // FIXME(nnethercote): will be removed by #124141
1313
#![doc(
1414
html_root_url = "https://doc.rust-lang.org/nightly/nightly-rustc/",
1515
test(attr(allow(unused_variables), deny(warnings)))

compiler/rustc_symbol_mangling/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@
8989
9090
// tidy-alphabetical-start
9191
#![allow(internal_features)]
92-
#![cfg_attr(doc, recursion_limit = "256")] // FIXME(nnethercote): will be removed by #124141
92+
#![recursion_limit = "256"] // FIXME(nnethercote): will be removed by #124141
9393
#![doc(html_root_url = "https://doc.rust-lang.org/nightly/nightly-rustc/")]
9494
#![doc(rust_logo)]
9595
#![feature(let_chains)]

compiler/rustc_transmute/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// tidy-alphabetical-start
2-
#![cfg_attr(doc, recursion_limit = "256")] // FIXME(nnethercote): will be removed by #124141
2+
#![recursion_limit = "256"] // FIXME(nnethercote): will be removed by #124141
33
#![feature(never_type)]
44
// tidy-alphabetical-end
55

compiler/rustc_ty_utils/src/lib.rs

+1-1
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(html_root_url = "https://doc.rust-lang.org/nightly/nightly-rustc/")]
1111
#![doc(rust_logo)]
1212
#![feature(assert_matches)]

0 commit comments

Comments
 (0)