Rollup merge of #91478 - estebank:fix-newline-in-cast-suggestion, r=camelid
Remove incorrect newline from float cast suggestion
This commit is contained in:
commit
f9587b60b6
2 changed files with 11 additions and 11 deletions
|
@ -1223,7 +1223,7 @@ impl<'a, 'tcx> FnCtxt<'a, 'tcx> {
|
|||
// Missing try_into implementation for `{integer}` to `{float}`
|
||||
err.multipart_suggestion_verbose(
|
||||
&format!(
|
||||
"{}, producing the floating point representation of the integer,
|
||||
"{}, producing the floating point representation of the integer, \
|
||||
rounded if necessary",
|
||||
cast_msg,
|
||||
),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue