diff options
| author | Michael Sullivan <sully@msully.net> | 2012-08-23 18:17:16 -0700 |
|---|---|---|
| committer | Michael Sullivan <sully@msully.net> | 2012-08-23 19:40:01 -0700 |
| commit | 0f996f70a632d1427801f20935a69a57fbb3679e (patch) | |
| tree | 10bb420206b95838c5bd1b2ac6451cf93ef0b8f4 /src/libsyntax/ext/auto_serialize.rs | |
| parent | 34886ed488f6cc18c3fdc20cdeccab6178e00c0f (diff) | |
Remove purity from fn_decl and move it out to containing AST elements.
Diffstat (limited to 'src/libsyntax/ext/auto_serialize.rs')
| -rw-r--r-- | src/libsyntax/ext/auto_serialize.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libsyntax/ext/auto_serialize.rs b/src/libsyntax/ext/auto_serialize.rs index d094bfe6f01..beb255d2cb6 100644 --- a/src/libsyntax/ext/auto_serialize.rs +++ b/src/libsyntax/ext/auto_serialize.rs @@ -191,10 +191,10 @@ impl ext_ctxt: ext_ctxt_helpers { @{id: self.next_id(), node: ast::ty_fn(ast::proto_block, + ast::impure_fn, @~[], {inputs: args, output: output, - purity: ast::impure_fn, cf: ast::return_val}), span: span} } @@ -604,8 +604,8 @@ fn mk_ser_fn(cx: ext_ctxt, span: span, name: ast::ident, id: cx.next_id(), node: ast::item_fn({inputs: ser_inputs, output: ser_output, - purity: ast::impure_fn, cf: ast::return_val}, + ast::impure_fn, ser_tps, ser_blk), vis: ast::public, @@ -810,8 +810,8 @@ fn mk_deser_fn(cx: ext_ctxt, span: span, id: cx.next_id(), node: ast::item_fn({inputs: deser_inputs, output: v_ty, - purity: ast::impure_fn, cf: ast::return_val}, + ast::impure_fn, deser_tps, deser_blk), vis: ast::public, |
