Skip to content

Commit 9332660

Browse files
committed
double recursion_depth
1 parent be7534c commit 9332660

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
@@ -188,7 +188,7 @@ where
188188
generate_proof_tree: GenerateProofTree,
189189
span: I::Span,
190190
) -> (Result<(HasChanged, Certainty), NoSolution>, Option<inspect::GoalEvaluation<I>>) {
191-
EvalCtxt::enter_root(self, self.cx().recursion_limit(), generate_proof_tree, span, |ecx| {
191+
EvalCtxt::enter_root(self, self.cx().recursion_limit() * 2, generate_proof_tree, span, |ecx| {
192192
ecx.evaluate_goal(GoalEvaluationKind::Root, GoalSource::Misc, goal)
193193
})
194194
}
@@ -218,7 +218,7 @@ where
218218
) {
219219
EvalCtxt::enter_root(
220220
self,
221-
self.cx().recursion_limit(),
221+
self.cx().recursion_limit() * 2,
222222
generate_proof_tree,
223223
I::Span::dummy(),
224224
|ecx| ecx.evaluate_goal_raw(GoalEvaluationKind::Root, GoalSource::Misc, goal),

0 commit comments

Comments
 (0)