Skip to content

Commit a604115

Browse files
committed
Increase recursion_limit in numerous crates.
This is temporarily needed for `x doc compiler` to work. They can be removed once the `Nonterminal` is removed (#124141).
1 parent 0260568 commit a604115

File tree

29 files changed

+29
-0
lines changed

29 files changed

+29
-0
lines changed

compiler/rustc_ast/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
#![feature(never_type)]
2020
#![feature(rustdoc_internals)]
2121
#![feature(stmt_expr_attributes)]
22+
#![recursion_limit = "256"] // FIXME(nnethercote): remove once #124141 is done
2223
#![warn(unreachable_pub)]
2324
// tidy-alphabetical-end
2425

compiler/rustc_ast_lowering/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
#![feature(if_let_guard)]
3939
#![feature(let_chains)]
4040
#![feature(rustdoc_internals)]
41+
#![recursion_limit = "256"] // FIXME(nnethercote): remove once #124141 is done
4142
#![warn(unreachable_pub)]
4243
// tidy-alphabetical-end
4344

compiler/rustc_attr_parsing/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@
8080
#![doc(rust_logo)]
8181
#![feature(let_chains)]
8282
#![feature(rustdoc_internals)]
83+
#![recursion_limit = "256"] // FIXME(nnethercote): remove once #124141 is done
8384
#![warn(unreachable_pub)]
8485
// tidy-alphabetical-end
8586

compiler/rustc_borrowck/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
#![feature(rustdoc_internals)]
1414
#![feature(stmt_expr_attributes)]
1515
#![feature(try_blocks)]
16+
#![recursion_limit = "256"] // FIXME(nnethercote): remove once #124141 is done
1617
#![warn(unreachable_pub)]
1718
// tidy-alphabetical-end
1819

compiler/rustc_builtin_macros/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
#![feature(rustdoc_internals)]
1919
#![feature(string_from_utf8_lossy_owned)]
2020
#![feature(try_blocks)]
21+
#![recursion_limit = "256"] // FIXME(nnethercote): remove once #124141 is done
2122
#![warn(unreachable_pub)]
2223
// tidy-alphabetical-end
2324

compiler/rustc_codegen_ssa/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
#![feature(rustdoc_internals)]
1515
#![feature(trait_alias)]
1616
#![feature(try_blocks)]
17+
#![recursion_limit = "256"] // FIXME(nnethercote): remove once #124141 is done
1718
#![warn(unreachable_pub)]
1819
// tidy-alphabetical-end
1920

compiler/rustc_const_eval/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
#![feature(try_blocks)]
1616
#![feature(unqualified_local_imports)]
1717
#![feature(yeet_expr)]
18+
#![recursion_limit = "256"] // FIXME(nnethercote): remove once #124141 is done
1819
#![warn(unqualified_local_imports)]
1920
#![warn(unreachable_pub)]
2021
// tidy-alphabetical-end

compiler/rustc_driver/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
#![allow(internal_features)]
66
#![doc(rust_logo)]
77
#![feature(rustdoc_internals)]
8+
#![recursion_limit = "256"] // FIXME(nnethercote): remove once #124141 is done
89
// tidy-alphabetical-end
910

1011
pub use rustc_driver_impl::*;

compiler/rustc_driver_impl/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
#![feature(result_flattening)]
1717
#![feature(rustdoc_internals)]
1818
#![feature(try_blocks)]
19+
#![recursion_limit = "256"] // FIXME(nnethercote): remove once #124141 is done
1920
#![warn(unreachable_pub)]
2021
// tidy-alphabetical-end
2122

compiler/rustc_hir/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
#![feature(never_type)]
1414
#![feature(rustc_attrs)]
1515
#![feature(variant_count)]
16+
#![recursion_limit = "256"] // FIXME(nnethercote): remove once #124141 is done
1617
#![warn(unreachable_pub)]
1718
// tidy-alphabetical-end
1819

0 commit comments

Comments
 (0)