diff --git a/macros/src/lib.rs b/macros/src/lib.rs index 11827e9711..2d5c67fec2 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)