From 9399e4ff88af6a285a3736852eab809372e4719f Mon Sep 17 00:00:00 2001 From: Chandler Latour Date: Sun, 24 May 2015 13:10:49 -0600 Subject: [PATCH] Change Annotatable to &Annotatable for nightly See: rust-lang/rust#25683 --- num-macros/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/num-macros/src/lib.rs b/num-macros/src/lib.rs index acda2c9..e0159c7 100644 --- a/num-macros/src/lib.rs +++ b/num-macros/src/lib.rs @@ -64,7 +64,7 @@ macro_rules! path_std { pub fn expand_deriving_from_primitive(cx: &mut ExtCtxt, span: Span, mitem: &MetaItem, - item: Annotatable, + item: &Annotatable, push: &mut FnMut(Annotatable)) { let inline = cx.meta_word(span, InternedString::new("inline"));