From e8450fd47a9062f84f4fd3cb761d70f1d56b02b8 Mon Sep 17 00:00:00 2001 From: Renato Zannon Date: Mon, 18 May 2015 06:48:54 -0300 Subject: [PATCH] Update num-macros to rust master --- num-macros/src/lib.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/num-macros/src/lib.rs b/num-macros/src/lib.rs index a83c8b5..acda2c9 100644 --- a/num-macros/src/lib.rs +++ b/num-macros/src/lib.rs @@ -78,6 +78,7 @@ pub fn expand_deriving_from_primitive(cx: &mut ExtCtxt, methods: vec!( MethodDef { name: "from_i64", + is_unsafe: false, generics: LifetimeBounds::empty(), explicit_self: None, args: vec!(Literal(path_local!(i64))), @@ -93,6 +94,7 @@ pub fn expand_deriving_from_primitive(cx: &mut ExtCtxt, }, MethodDef { name: "from_u64", + is_unsafe: false, generics: LifetimeBounds::empty(), explicit_self: None, args: vec!(Literal(path_local!(u64))),