pub_restricted formatting breaks code with "Block" fn args #1278
Labels
bug
Panic, non-idempotency, invalid code, etc.
only-with-option
requires a non-default option value to reproduce
rustfmt generates invalid code after formatting code that uses the pub_restricted feature.
The breakage is new in the 0.7 release; in the 0.6.3 release the same erroneous line would be inserted, but it was commented out
input:
rustfmt.toml:
incorrect 0.7 output:
incorrect 0.6.3 output:
The text was updated successfully, but these errors were encountered: