]> git.lizzy.rs Git - rust.git/commitdiff
Rollup merge of #22875 - kmcallister:maceager, r=sfackler
authorManish Goregaokar <manishsmail@gmail.com>
Sat, 28 Feb 2015 08:26:15 +0000 (13:56 +0530)
committerManish Goregaokar <manishsmail@gmail.com>
Sat, 28 Feb 2015 13:48:59 +0000 (19:18 +0530)
 MacEager is a MacResult implementation for the common case where you've already built each form of AST that you might return.

Fixes #17637. Based on #18814.

This is a [breaking-change] for syntax extensions:

  * MacExpr::new becomes MacEager::expr.

  * MacPat::new becomes MacEager::pat.

  * MacItems::new becomes MacEager::items. It takes a SmallVector directly,
    not an iterator.

r? @sfackler


Trivial merge