review comments
This commit is contained in:
parent
62ba3e70a1
commit
3fa95b847b
3 changed files with 46 additions and 41 deletions
|
@ -1613,7 +1613,7 @@ impl<'tcx> TypeErrCtxt<'_, 'tcx> {
|
|||
{
|
||||
format!("expected this to be `{}`", expected)
|
||||
} else {
|
||||
terr.to_string(self.tcx)
|
||||
terr.to_string(self.tcx).to_string()
|
||||
};
|
||||
label_or_note(sp, &terr);
|
||||
label_or_note(span, &msg);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue