You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
destructive formatting when dealing with const generics #4310
Note that the original code snippet current does not yet compile due to the unfinished nature of const generics,
it should compile in the future though.
Note that the original code snippet current does not yet compile due to the unfinished nature of const generics,
it should compile in the future though.
This is fairly common with new/unfinished syntax, and takes a little time for rustfmt to incorporate the upstream changes. The next snapshot of the rustc internals that rustfmt consumes will be published tomorrow so we'll take a look afterwards to see if the updated ast and parser mods will allow rustfmt to be able to format this correctly.
Activity
calebcartwright commentedon Jul 6, 2020
Thanks for the report!
This is fairly common with new/unfinished syntax, and takes a little time for rustfmt to incorporate the upstream changes. The next snapshot of the rustc internals that rustfmt consumes will be published tomorrow so we'll take a look afterwards to see if the updated ast and parser mods will allow rustfmt to be able to format this correctly.
Include const generic type bounds in their spans
Include const generic type bounds in their spans
Include const generic type bounds in their spans
Include const generic type bounds in their spans
Rollup merge of rust-lang#81501 - calebcartwright:update-rustfmt, r=s…