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/src/lib.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'compiler/rustc_driver/src') diff --git a/compiler/rustc_driver/src/lib.rs b/compiler/rustc_driver/src/lib.rs index a03834c519d..381309f83b2 100644 --- a/compiler/rustc_driver/src/lib.rs +++ b/compiler/rustc_driver/src/lib.rs @@ -3,6 +3,7 @@ // tidy-alphabetical-start #![allow(internal_features)] +#![cfg_attr(doc, recursion_limit = "256")] // FIXME(nnethercote): will be removed by #124141 #![doc(rust_logo)] #![feature(rustdoc_internals)] // tidy-alphabetical-end -- cgit 1.4.1-3-g733a5