Improve type mismatch messages

This commit is contained in:
Shunsuke Shibayama 2022-11-25 17:20:39 +09:00
parent 14bb674068
commit d26909c317
7 changed files with 50 additions and 27 deletions

View file

@ -874,7 +874,7 @@ impl Context {
&proj,
t_loc,
self.caused_by(),
self.get_no_candidate_hint(&proj),
Self::get_no_candidate_hint(&proj),
)))
}
}
@ -1169,7 +1169,7 @@ impl Context {
&proj,
t_loc,
self.caused_by(),
self.get_no_candidate_hint(&proj),
Self::get_no_candidate_hint(&proj),
)))
}
}