Standardize arg suggestions between typeck and trait selection

This commit is contained in:
Michael Goulet 2022-10-09 21:39:57 +00:00
parent b3edd9f775
commit f5336a969c
4 changed files with 60 additions and 54 deletions

View file

@ -90,7 +90,7 @@ impl<'a, 'tcx> FnCtxt<'a, 'tcx> {
if ty.is_suggestable(self.tcx, false) {
format!("/* {ty} */")
} else {
"".to_string()
"/* value */".to_string()
}
})
.collect::<Vec<_>>()