]> git.lizzy.rs Git - rust.git/commitdiff
auto merge of #11168 : sfackler/rust/de-at-extctxt, r=alexcrichton
authorbors <bors@rust-lang.org>
Mon, 30 Dec 2013 08:11:55 +0000 (00:11 -0800)
committerbors <bors@rust-lang.org>
Mon, 30 Dec 2013 08:11:55 +0000 (00:11 -0800)
* Pass `&ExtCtxt` instead of `@ExtCtxt`.
* Stop passing duplicate parameters around in `expand`.
* Make `ast_fold` methods take `&mut self`.

After these, it should be possible to remove the `@mut` boxes from `ExtCtxt` altogether, though #11167 is doing some of that so I'm holding off on that for now. This will probably conflict with that PR, so I'm guessing that one will have to be rebased on top of the other.

r? @pcwalton


Trivial merge