Skip to content

Commit 6f2e221

Browse files
committed
double recursion limit for next-solver
1 parent 344c7a7 commit 6f2e221

File tree

1 file changed

+2
-2
lines changed
  • compiler/rustc_next_trait_solver/src/solve/eval_ctxt

1 file changed

+2
-2
lines changed

compiler/rustc_next_trait_solver/src/solve/eval_ctxt/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ where
201201
span: I::Span,
202202
stalled_on: Option<GoalStalledOn<I>>,
203203
) -> Result<GoalEvaluation<I>, NoSolution> {
204-
EvalCtxt::enter_root(self, self.cx().recursion_limit(), span, |ecx| {
204+
EvalCtxt::enter_root(self, self.cx().recursion_limit() * 2, span, |ecx| {
205205
ecx.evaluate_goal(GoalSource::Misc, goal, stalled_on)
206206
})
207207
}
@@ -1485,7 +1485,7 @@ pub fn evaluate_root_goal_for_proof_tree_raw_provider<
14851485
let mut inspect = inspect::ProofTreeBuilder::new();
14861486
let canonical_result = SearchGraph::<D>::evaluate_root_goal_for_proof_tree(
14871487
cx,
1488-
cx.recursion_limit(),
1488+
cx.recursion_limit() * 2,
14891489
canonical_goal,
14901490
&mut inspect,
14911491
);

0 commit comments

Comments
 (0)