Skip to content

Commit f86b035

Browse files
committed
woops
1 parent a7ec045 commit f86b035

File tree

1 file changed

+1
-1
lines changed
  • compiler/rustc_middle/src/traits

1 file changed

+1
-1
lines changed

compiler/rustc_middle/src/traits/solve.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ impl Certainty {
6464
(Certainty::Yes, Certainty::Maybe(_)) => other,
6565
(Certainty::Maybe(_), Certainty::Yes) => self,
6666
(Certainty::Maybe(MaybeCause::Ambiguity), Certainty::Maybe(MaybeCause::Ambiguity)) => {
67-
Certainty::Maybe(MaybeCause::Overflow)
67+
Certainty::Maybe(MaybeCause::Ambiguity)
6868
}
6969
(Certainty::Maybe(MaybeCause::Ambiguity), Certainty::Maybe(MaybeCause::Overflow))
7070
| (Certainty::Maybe(MaybeCause::Overflow), Certainty::Maybe(MaybeCause::Ambiguity))

0 commit comments

Comments
 (0)