Follow rustc: Compiler internals changed

This commit is contained in:
Thomas Bahn 2015-02-24 10:45:34 +01:00
parent 5f46adb2d0
commit e9c7ea1a64

View File

@ -57,7 +57,7 @@ fn expand_derive_serialize(
sp: Span,
mitem: &MetaItem,
item: &Item,
mut push: Box<FnMut(P<ast::Item>)>
push: &mut FnMut(P<ast::Item>)
) {
let inline = cx.meta_word(sp, token::InternedString::new("inline"));
let attrs = vec!(cx.attribute(sp, inline));
@ -462,7 +462,7 @@ pub fn expand_derive_deserialize(
sp: Span,
mitem: &MetaItem,
item: &Item,
mut push: Box<FnMut(P<ast::Item>)>
push: &mut FnMut(P<ast::Item>)
) {
let inline = cx.meta_word(sp, token::InternedString::new("inline"));
let attrs = vec!(cx.attribute(sp, inline));