rust-lang/rust — pull request #16037 by erickt (2014-07-28 04:30:47+00:00)
Title: Add support for quoting arms, fix a pretty printer bug, and other minor features

This adds support for `quote_arm!(cx, $pat => $expr)`. It also fixes a bug in pretty printing, where this would generate invalid code:

```
match { 5i } {
1 => 2,
_ => 3,
}
```

It would generate this code:

```
match { 5i } {
1 => 2
_ => 3
}
```

Finally, it adds a couple helper methods to `ExtCtxt`.