Add 'static mut' items to the language
This commit is contained in:
parent
f82756180b
commit
1841b31c61
34 changed files with 230 additions and 70 deletions
|
@ -270,7 +270,7 @@ fn noop_fold_struct_field(sf: @struct_field, fld: @ast_fold)
|
|||
|
||||
pub fn noop_fold_item_underscore(i: &item_, fld: @ast_fold) -> item_ {
|
||||
match *i {
|
||||
item_const(t, e) => item_const(fld.fold_ty(t), fld.fold_expr(e)),
|
||||
item_static(t, m, e) => item_static(fld.fold_ty(t), m, fld.fold_expr(e)),
|
||||
item_fn(ref decl, purity, abi, ref generics, ref body) => {
|
||||
item_fn(
|
||||
fold_fn_decl(decl, fld),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue