Skip to content

Commit 35df019

Browse files
committed
rebase fun
1 parent 06fdebe commit 35df019

File tree

1 file changed

+1
-1
lines changed
  • compiler/rustc_next_trait_solver/src/solve/assembly

1 file changed

+1
-1
lines changed

compiler/rustc_next_trait_solver/src/solve/assembly/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -898,7 +898,7 @@ where
898898
match G::consider_impl_candidate(self, goal, impl_def_id) {
899899
Ok(mut candidate) => {
900900
candidate.result.value.certainty =
901-
candidate.result.value.certainty.unify_with(Certainty::AMBIGUOUS);
901+
candidate.result.value.certainty.and(Certainty::AMBIGUOUS);
902902
candidates.push(candidate);
903903
}
904904
Err(NoSolution) => (),

0 commit comments

Comments
 (0)