We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a7ec045 commit f86b035Copy full SHA for f86b035
compiler/rustc_middle/src/traits/solve.rs
@@ -64,7 +64,7 @@ impl Certainty {
64
(Certainty::Yes, Certainty::Maybe(_)) => other,
65
(Certainty::Maybe(_), Certainty::Yes) => self,
66
(Certainty::Maybe(MaybeCause::Ambiguity), Certainty::Maybe(MaybeCause::Ambiguity)) => {
67
- Certainty::Maybe(MaybeCause::Overflow)
+ Certainty::Maybe(MaybeCause::Ambiguity)
68
}
69
(Certainty::Maybe(MaybeCause::Ambiguity), Certainty::Maybe(MaybeCause::Overflow))
70
| (Certainty::Maybe(MaybeCause::Overflow), Certainty::Maybe(MaybeCause::Ambiguity))
0 commit comments