Open
Description
Describe the bug
rustfmt fails with an internal error:
error[internal]: left behind trailing whitespace
--> stdin:3:3:0
|
3 |
| ^^^^^^^^
|
warning: rustfmt has failed to format. See previous 1 errors.
To Reproduce
echo 'Zm4gdHJpbUdvb2QoKSB7CiAgICBpZiBsZXQgU29tZShxKSA9IGxhc3QgJiYgaSAhPSAwIHsKICAgICAgICAKICAgICAgICB9Cn0K' | base64 -d | rustfmt
Meta
- rustfmt 1.4.36-stable (7de6968 2021-02-07)
- From where did you install rustfmt?: rustup
- How do you run rustfmt:
rustfmt
Metadata
Metadata
Assignees
Type
Projects
Milestone
Relationships
Development
No branches or pull requests
Activity
hellow554 commentedon Apr 19, 2021
This is probably due to the new if let chain feature
calebcartwright commentedon Apr 21, 2021
Thanks for the report!
hellow554 commentedon Apr 28, 2021
Also occurs on
rustfmt 2.0.0-rc.2-nightly (94035f91 2021-04-07)