Sfoglia il codice sorgente

Merge pull request #109 from jdm/rustup

Upgrade to 2015-08-30 rustc nightly.
Alex Crichton 9 anni fa
parent
commit
1e07193480
2 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  1. 1 1
      num-macros/Cargo.toml
  2. 1 0
      num-macros/src/lib.rs

+ 1 - 1
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"

+ 1 - 0
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),