Skip to content

Commit 9edddb3

Browse files
RECURSION RIBBIT
1 parent aed83da commit 9edddb3

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ where
189189
generate_proof_tree: GenerateProofTree,
190190
span: I::Span,
191191
) -> (Result<(HasChanged, Certainty), NoSolution>, Option<inspect::GoalEvaluation<I>>) {
192-
EvalCtxt::enter_root(self, self.cx().recursion_limit(), generate_proof_tree, span, |ecx| {
192+
EvalCtxt::enter_root(self, self.cx().recursion_limit() * 2, generate_proof_tree, span, |ecx| {
193193
ecx.evaluate_goal(GoalEvaluationKind::Root, GoalSource::Misc, goal)
194194
})
195195
}
@@ -219,7 +219,7 @@ where
219219
) {
220220
EvalCtxt::enter_root(
221221
self,
222-
self.cx().recursion_limit(),
222+
self.cx().recursion_limit() * 2,
223223
generate_proof_tree,
224224
I::Span::dummy(),
225225
|ecx| ecx.evaluate_goal_raw(GoalEvaluationKind::Root, GoalSource::Misc, goal),

0 commit comments

Comments
 (0)