We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent be3c5f2 commit fc48840Copy full SHA for fc48840
compiler/rustc_next_trait_solver/src/solve/assembly/mod.rs
@@ -897,7 +897,7 @@ where
897
match G::consider_impl_candidate(self, goal, impl_def_id) {
898
Ok(mut candidate) => {
899
candidate.result.value.certainty =
900
- candidate.result.value.certainty.unify_with(Certainty::AMBIGUOUS);
+ candidate.result.value.certainty.and(Certainty::AMBIGUOUS);
901
candidates.push(candidate);
902
}
903
Err(NoSolution) => (),
0 commit comments