Skip to content

Commit 05e6f43

Browse files
committed
Return ambiguous solution on !should_continue
1 parent 59b1b9a commit 05e6f43

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

chalk-recursive/src/solve.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ pub(super) trait SolveIteration<I: Interner>: SolveDatabase<I> {
4444
should_continue: impl std::ops::Fn() -> bool + Clone,
4545
) -> Fallible<Solution<I>> {
4646
if !should_continue() {
47-
return Err(NoSolution);
47+
return Ok(Solution::Ambig(Guidance::Unknown));
4848
}
4949

5050
let UCanonical {

0 commit comments

Comments
 (0)