Skip to content

Do not flatten match arm block with leading attributes#5158

Merged
calebcartwright merged 1 commit intorust-lang:masterfrom
davidlattimore:backport-4124
Dec 29, 2021
Merged

Do not flatten match arm block with leading attributes#5158
calebcartwright merged 1 commit intorust-lang:masterfrom
davidlattimore:backport-4124

Conversation

@davidlattimore
Copy link
Contributor

This is a backport of #4124.

Fixes #4109

Copy link
Member

@calebcartwright calebcartwright left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@calebcartwright calebcartwright merged commit 4a053f2 into rust-lang:master Dec 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Rustfmt breaks match arm starting with attributed block

2 participants