Merge pull request #96 from renato-zannon/rustup

Update num-macros to rust master
This commit is contained in:
Alex Crichton 2015-05-18 08:58:12 -07:00
commit dab8c6de71
1 changed files with 2 additions and 0 deletions

View File

@ -78,6 +78,7 @@ pub fn expand_deriving_from_primitive(cx: &mut ExtCtxt,
methods: vec!( methods: vec!(
MethodDef { MethodDef {
name: "from_i64", name: "from_i64",
is_unsafe: false,
generics: LifetimeBounds::empty(), generics: LifetimeBounds::empty(),
explicit_self: None, explicit_self: None,
args: vec!(Literal(path_local!(i64))), args: vec!(Literal(path_local!(i64))),
@ -93,6 +94,7 @@ pub fn expand_deriving_from_primitive(cx: &mut ExtCtxt,
}, },
MethodDef { MethodDef {
name: "from_u64", name: "from_u64",
is_unsafe: false,
generics: LifetimeBounds::empty(), generics: LifetimeBounds::empty(),
explicit_self: None, explicit_self: None,
args: vec!(Literal(path_local!(u64))), args: vec!(Literal(path_local!(u64))),