Fix num-macros for nightly

Now compatible with rustc 1.13.0-nightly (32571c05c 2016-09-17)
This commit is contained in:
bluss 2016-09-18 22:24:38 +02:00
parent c8ed8ff87b
commit 6cfd6c8d18
1 changed files with 1 additions and 0 deletions

View File

@ -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)