Browse Source

Fix num-macros for nightly

Now compatible with rustc 1.13.0-nightly (32571c05c 2016-09-17)
bluss 8 years ago
parent
commit
6cfd6c8d18
1 changed files with 1 additions and 0 deletions
  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)