We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 06fdebe commit 35df019Copy full SHA for 35df019
compiler/rustc_next_trait_solver/src/solve/assembly/mod.rs
@@ -898,7 +898,7 @@ where
898
match G::consider_impl_candidate(self, goal, impl_def_id) {
899
Ok(mut candidate) => {
900
candidate.result.value.certainty =
901
- candidate.result.value.certainty.unify_with(Certainty::AMBIGUOUS);
+ candidate.result.value.certainty.and(Certainty::AMBIGUOUS);
902
candidates.push(candidate);
903
}
904
Err(NoSolution) => (),
0 commit comments