Auto merge of #25524 - Manishearth:unsafe_derive, r=cmr
This commit is contained in:
commit
8b7c17db22
14 changed files with 25 additions and 1 deletions
|
|
@ -54,6 +54,7 @@ fn expand(cx: &mut ExtCtxt,
|
|||
args: vec![],
|
||||
ret_ty: Literal(Path::new_local("isize")),
|
||||
attributes: vec![],
|
||||
is_unsafe: false,
|
||||
combine_substructure: combine_substructure(box |cx, span, substr| {
|
||||
let zero = cx.expr_isize(span, 0);
|
||||
cs_fold(false,
|
||||
|
|
|
|||
|
|
@ -56,6 +56,7 @@ fn expand(cx: &mut ExtCtxt,
|
|||
args: vec![],
|
||||
ret_ty: Literal(Path::new_local("isize")),
|
||||
attributes: vec![],
|
||||
is_unsafe: false,
|
||||
combine_substructure: combine_substructure(Box::new(totalsum_substructure)),
|
||||
},
|
||||
],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue