From 293fe0a9667b442b2a4adf94bbf68bf60391441c Mon Sep 17 00:00:00 2001 From: Nicholas Nethercote Date: Thu, 6 Mar 2025 10:03:56 +1100 Subject: 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). --- compiler/rustc_driver_impl/src/lib.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'compiler/rustc_driver_impl') diff --git a/compiler/rustc_driver_impl/src/lib.rs b/compiler/rustc_driver_impl/src/lib.rs index a2ddff7183e..725f7c47491 100644 --- a/compiler/rustc_driver_impl/src/lib.rs +++ b/compiler/rustc_driver_impl/src/lib.rs @@ -7,6 +7,7 @@ // tidy-alphabetical-start #![allow(internal_features)] #![allow(rustc::untranslatable_diagnostic)] // FIXME: make this translatable +#![cfg_attr(doc, recursion_limit = "256")] // FIXME(nnethercote): will be removed by #124141 #![doc(html_root_url = "https://doc.rust-lang.org/nightly/nightly-rustc/")] #![doc(rust_logo)] #![feature(decl_macro)] -- cgit 1.4.1-3-g733a5