소스 검색

Merge pull request #98 from clatour/rustup

Update num-macros to rust nightly
Alex Crichton 9 년 전
부모
커밋
ff6f8d9d29
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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"));