Skip to content

Conversation

CPunisher
Copy link

@CPunisher CPunisher commented Jun 28, 2025

fixes #6561
fixes #6607

just follow the suggestion and add some tests :)

@CPunisher CPunisher changed the title fix: preserve attributes for fn params with empty ident fix: preserve attributes for fn params with empty idents Jun 28, 2025
@ytmimi
Copy link
Contributor

ytmimi commented Jul 21, 2025

Thanks for working on this. Can you also add a test case for #6607. I believe this also fixes that issue

@CPunisher
Copy link
Author

@ytmimi I think this pr can be merged now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

rustfmt removes attributes on parameters of fn types rustfmt eats attributes while formatting functions with variadic parameters
3 participants