Yacin Tmimi
Yacin Tmimi
There is trailing whitespace in the input snippet. The comment `// 114514` prevents formatting, which also stops rustfmt from rewriting the assignment and removing the whitespace.
@tgrushka The `"left behind trailing whitespace"` error is a general error message, and pops up for various different reasons. While trailing whitespace isn't inherently wrong, rustfmt tries to remove it...
I spent some time looking at this one tonight. One issue I can see is that the `shape` used to format the first line comment is technically incorrect. It doesn't...
Here's one idea I had to try and handle block comments formatting. There are likely other issues with this code, but I also ran into the same issue that I...
@ArcticLampyrid this one should be addressed once we merge https://github.com/rust-lang/rustfmt/pull/5887, which we're planning to do in the near future. @johnhuichen yes it's the correct syntax and it relates to https://github.com/rust-lang/rust/issues/89122....
@fpdotmonkey I'm also unable to reproduce the issue that you described. Are you using any other configuration options? Also, what version of rustc are you using?
@fpdotmonkey if you change the formatting to what you expect it to be does CI pass or does CI fail when it checks formatting?
If you're able to put together a minimal reproduction for the new snippet that you've linked to that would be great
> Hey is there anything more needed for a MCVE? You're all set. The new snippet demonstrates the issue. You may want to go back and amend the description to...
@jaskij your issue doesn't seem to be related. Your `proptest!` macro invocation doesn't parse as valid rust code so rustfmt won't be able to format it at all. Specifically `s...