syntax: convert deriving to take &mut ExtCtxt.

This commit is contained in:
Huon Wilson
2014-02-06 08:50:21 +11:00
parent eac673ab0c
commit fa191a5591
16 changed files with 63 additions and 63 deletions

View File

@@ -36,7 +36,7 @@ pub struct MacroDef {
}
pub type ItemDecorator =
fn(&ExtCtxt, Span, @ast::MetaItem, ~[@ast::Item]) -> ~[@ast::Item];
fn(&mut ExtCtxt, Span, @ast::MetaItem, ~[@ast::Item]) -> ~[@ast::Item];
pub struct BasicMacroExpander {
expander: MacroExpanderFn,