Skip to content

Commit e3b862a

Browse files
committed
double recursion limit for next-solver
1 parent a8542cd commit e3b862a

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
}
@@ -1515,7 +1515,7 @@ pub fn evaluate_root_goal_for_proof_tree_raw_provider<
15151515
let mut inspect = inspect::ProofTreeBuilder::new();
15161516
let canonical_result = SearchGraph::<D>::evaluate_root_goal_for_proof_tree(
15171517
cx,
1518-
cx.recursion_limit(),
1518+
cx.recursion_limit() * 2,
15191519
canonical_goal,
15201520
&mut inspect,
15211521
);

0 commit comments

Comments
 (0)