Quellcode durchsuchen

Auto merge of #229 - bluss:fix-macros, r=hauleth

Fix num-macros for nightly

Now compatible with rustc 1.13.0-nightly (32571c05c 2016-09-17)
Homu vor 8 Jahren
Ursprung
Commit
a11be641ed
1 geänderte Dateien mit 1 neuen und 0 gelöschten Zeilen
  1. 1 0
      macros/src/lib.rs

+ 1 - 0
macros/src/lib.rs

@@ -108,6 +108,7 @@ pub fn expand_deriving_from_primitive(cx: &mut ExtCtxt,
             }
         ),
         associated_types: Vec::new(),
+        supports_unions: false,
     };
 
     trait_def.expand(cx, mitem, &item, push)