From 92bfa05b07090be1b3bf32af0c8947a0f0b387e8 Mon Sep 17 00:00:00 2001 From: Aaron Hill Date: Fri, 27 Nov 2020 15:46:19 -0500 Subject: [PATCH] Bump recursion_limit in rustc_ast_passes When cfg(parallel_compiler) is enabled, we end up trying to prove Send/Sync bounds for some deeply nested types (at least when rustdoc is run). --- compiler/rustc_ast_passes/src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/compiler/rustc_ast_passes/src/lib.rs b/compiler/rustc_ast_passes/src/lib.rs index bfe304419801d..7487421e709a7 100644 --- a/compiler/rustc_ast_passes/src/lib.rs +++ b/compiler/rustc_ast_passes/src/lib.rs @@ -6,6 +6,7 @@ #![feature(bindings_after_at)] #![feature(iter_is_partitioned)] +#![recursion_limit = "256"] pub mod ast_validation; pub mod feature_gate;