From ab10ac7d92056192ee040a1b02cc23d8613f7666 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lauren=C8=9Biu=20Nicola?= Date: Sun, 8 Aug 2021 18:40:28 +0300 Subject: [PATCH] Increase chalk overflow depth --- crates/hir_ty/src/traits.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/hir_ty/src/traits.rs b/crates/hir_ty/src/traits.rs index 147c5b5e527..b63dfafdf55 100644 --- a/crates/hir_ty/src/traits.rs +++ b/crates/hir_ty/src/traits.rs @@ -26,7 +26,7 @@ pub(crate) struct ChalkContext<'a> { fn create_chalk_solver() -> chalk_recursive::RecursiveSolver { let overflow_depth = - var("CHALK_OVERFLOW_DEPTH").ok().and_then(|s| s.parse().ok()).unwrap_or(100); + var("CHALK_OVERFLOW_DEPTH").ok().and_then(|s| s.parse().ok()).unwrap_or(300); let max_size = var("CHALK_SOLVER_MAX_SIZE").ok().and_then(|s| s.parse().ok()).unwrap_or(30); chalk_recursive::RecursiveSolver::new(overflow_depth, max_size, Some(Cache::new())) }