From 6cfd6c8d18ec8f8eb5ef53c1af95e53b1ce65c09 Mon Sep 17 00:00:00 2001 From: bluss Date: Sun, 18 Sep 2016 22:24:38 +0200 Subject: [PATCH] Fix num-macros for nightly Now compatible with rustc 1.13.0-nightly (32571c05c 2016-09-17) --- macros/src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/macros/src/lib.rs b/macros/src/lib.rs index 11827e9..2d5c67f 100644 --- a/macros/src/lib.rs +++ b/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)