소스 검색

Change Annotatable to &Annotatable for nightly

See: rust-lang/rust#25683
Chandler Latour 10 년 전
부모
커밋
9399e4ff88
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"));