From e9c7ea1a6470e2b6e08c6d82474ccb4a49353523 Mon Sep 17 00:00:00 2001 From: Thomas Bahn Date: Tue, 24 Feb 2015 10:45:34 +0100 Subject: [PATCH] Follow rustc: Compiler internals changed --- serde2/serde2_macros/src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/serde2/serde2_macros/src/lib.rs b/serde2/serde2_macros/src/lib.rs index e0dd752b..74cd2375 100644 --- a/serde2/serde2_macros/src/lib.rs +++ b/serde2/serde2_macros/src/lib.rs @@ -57,7 +57,7 @@ fn expand_derive_serialize( sp: Span, mitem: &MetaItem, item: &Item, - mut push: Box)> + push: &mut FnMut(P) ) { 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)> + push: &mut FnMut(P) ) { let inline = cx.meta_word(sp, token::InternedString::new("inline")); let attrs = vec!(cx.attribute(sp, inline));