Browse Source

Change Annotatable to &Annotatable for nightly

See: rust-lang/rust#25683
Chandler Latour 9 years ago
parent
commit
9399e4ff88
1 changed files with 1 additions and 1 deletions
  1. 1 1
      num-macros/src/lib.rs

+ 1 - 1
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"));