Rustfmt can generate invalid code when using space_after_colon=false
#6470
Labels
bug
Panic, non-idempotency, invalid code, etc.
only-with-option
requires a non-default option value to reproduce
formatting the following code with
space_after_colon=false
will generate invalid codesince it removes the space between the field colon and the
::
prefix onsome_crate
i cant see this as very high priority because i dont know anyone who prefixes things with
::
asides from maybe alloc or std, andspace_after_colon=false
isnt widely used, but this should probably be looked intoThe text was updated successfully, but these errors were encountered: