From 11b9dd0b7a9c0827e7619a7b0bf2831c4e35f4ab Mon Sep 17 00:00:00 2001 From: Josh Matthews Date: Tue, 1 Sep 2015 16:12:02 -0400 Subject: [PATCH] Upgrade to 2015-08-30 rustc nightly. --- num-macros/Cargo.toml | 2 +- num-macros/src/lib.rs | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/num-macros/Cargo.toml b/num-macros/Cargo.toml index c4f99f9..47d5a27 100644 --- a/num-macros/Cargo.toml +++ b/num-macros/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "num-macros" -version = "0.1.26" +version = "0.1.27" authors = ["The Rust Project Developers"] license = "MIT/Apache-2.0" homepage = "https://github.com/rust-lang/num" diff --git a/num-macros/src/lib.rs b/num-macros/src/lib.rs index b75c6bb..e1c1243 100644 --- a/num-macros/src/lib.rs +++ b/num-macros/src/lib.rs @@ -64,6 +64,7 @@ pub fn expand_deriving_from_primitive(cx: &mut ExtCtxt, let inline = cx.meta_word(span, InternedString::new("inline")); let attrs = vec!(cx.attribute(span, inline)); let trait_def = TraitDef { + is_unsafe: false, span: span, attributes: Vec::new(), path: path!(num::FromPrimitive),