]> git.lizzy.rs Git - rust.git/commit
Do not flatten match arm block with leading attributes
authorDavid Lattimore <dml@google.com>
Wed, 29 Dec 2021 23:13:45 +0000 (10:13 +1100)
committerCaleb Cartwright <calebcartwright@users.noreply.github.com>
Wed, 29 Dec 2021 23:43:58 +0000 (17:43 -0600)
commit4a053f206fd6799a25823c307f7d7f9d897be118
tree590f289ac45203fc8330dfb513aa0d148aeada9f
parentf935f0cf89f53a9df3a443b9cc09bb1bcc33064b
Do not flatten match arm block with leading attributes

This is a backport of #4124.

Fixes #4109
src/matches.rs
tests/source/match.rs
tests/target/match.rs