review + some small stuff
This commit is contained in:
parent
2186847f28
commit
3fab7f7c13
7 changed files with 52 additions and 14 deletions
|
@ -341,7 +341,7 @@ impl<'tcx> EvalCtxt<'_, 'tcx> {
|
|||
return Err(NoSolution);
|
||||
}
|
||||
let certainty = responses.iter().fold(Certainty::AMBIGUOUS, |certainty, response| {
|
||||
certainty.unify_and(response.value.certainty)
|
||||
certainty.unify_with(response.value.certainty)
|
||||
});
|
||||
|
||||
let response = self.evaluate_added_goals_and_make_canonical_response(certainty);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue