Merge pull request #96 from renato-zannon/rustup
Update num-macros to rust master
This commit is contained in:
commit
dab8c6de71
|
@ -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))),
|
||||||
|
|
Loading…
Reference in New Issue