1
Fork 0

Make suggestion more complete

This commit is contained in:
Esteban Küber 2020-08-18 16:44:45 -07:00
parent ff297fafbf
commit 5d2a935e6c
5 changed files with 75 additions and 14 deletions

View file

@ -749,7 +749,7 @@ impl<'a, 'tcx> InferCtxt<'a, 'tcx> {
})
.collect::<Vec<_>>();
err.multipart_suggestion(
"if you change the return type to expect trait objects box the returned expressions",
"if you change the return type to expect trait objects, box the returned expressions",
sugg,
Applicability::MaybeIncorrect,
);