diff options
| author | lcnr <rust@lcnr.de> | 2023-03-21 16:39:24 +0100 |
|---|---|---|
| committer | lcnr <rust@lcnr.de> | 2023-03-21 16:39:24 +0100 |
| commit | f86b0358f81aa67ff5ca8abf90935226fcab4f40 (patch) | |
| tree | 60ab5e7582cc211a84746745b836421b6e8d796f | |
| parent | a7ec045be8133fe679c34a7eaba989ca6975d53e (diff) | |
| download | rust-f86b0358f81aa67ff5ca8abf90935226fcab4f40.tar.gz rust-f86b0358f81aa67ff5ca8abf90935226fcab4f40.zip | |
woops
| -rw-r--r-- | compiler/rustc_middle/src/traits/solve.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_middle/src/traits/solve.rs b/compiler/rustc_middle/src/traits/solve.rs index f47f4cbdb4d..512d67f34b9 100644 --- a/compiler/rustc_middle/src/traits/solve.rs +++ b/compiler/rustc_middle/src/traits/solve.rs @@ -64,7 +64,7 @@ impl Certainty { (Certainty::Yes, Certainty::Maybe(_)) => other, (Certainty::Maybe(_), Certainty::Yes) => self, (Certainty::Maybe(MaybeCause::Ambiguity), Certainty::Maybe(MaybeCause::Ambiguity)) => { - Certainty::Maybe(MaybeCause::Overflow) + Certainty::Maybe(MaybeCause::Ambiguity) } (Certainty::Maybe(MaybeCause::Ambiguity), Certainty::Maybe(MaybeCause::Overflow)) | (Certainty::Maybe(MaybeCause::Overflow), Certainty::Maybe(MaybeCause::Ambiguity)) |
