]> git.lizzy.rs Git - rust.git/commit
Merge #986
authorbors[bot] <bors[bot]@users.noreply.github.com>
Sun, 17 Mar 2019 12:14:36 +0000 (12:14 +0000)
committerbors[bot] <bors[bot]@users.noreply.github.com>
Sun, 17 Mar 2019 12:14:36 +0000 (12:14 +0000)
commit290a3d0a6baeb1a198300cb3406c1ae25cb864d2
tree76a3434979cc4895dd4f6ca377e59ce031834a9e
parentaea9c98f53c66cac350781c3c531ef11cef861b6
parenta67fe4ea7e623ef31228295aedafb3bd18f4a23d
Merge #986

986: Fix parse tree of attribute on match arm r=matklad a=pcpthm

```rust
match () {
    #[attr]
    () => (),
}
```
Incorrect parse tree: `MatchArmList(Attr(..), MatchArm(..))`.
Fixed: `MatchArmList(MatchArm(Attr(..), ...))`.

Co-authored-by: pcpthm <pcpthm@gmail.com>