diff options
| author | Niko Matsakis <niko@alum.mit.edu> | 2012-05-04 12:33:04 -0700 |
|---|---|---|
| committer | Niko Matsakis <niko@alum.mit.edu> | 2012-05-04 12:33:08 -0700 |
| commit | 50ec6bd2c3c472ea140ed60de38dd50c672fc80a (patch) | |
| tree | dd040e82e0eba8038dd06424091b6fc575f720aa /src/rustc/front | |
| parent | 8affc78e8a0e420e1755a34fc7f5e4021c512e9d (diff) | |
| download | rust-50ec6bd2c3c472ea140ed60de38dd50c672fc80a.tar.gz rust-50ec6bd2c3c472ea140ed60de38dd50c672fc80a.zip | |
new cap clause syntax
Diffstat (limited to 'src/rustc/front')
| -rw-r--r-- | src/rustc/front/test.rs | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/rustc/front/test.rs b/src/rustc/front/test.rs index 258c49daa9d..c23c6d5a997 100644 --- a/src/rustc/front/test.rs +++ b/src/rustc/front/test.rs @@ -365,15 +365,10 @@ fn mk_test_wrapper(cx: test_ctxt, rules: ast::default_blk }); - let wrapper_capture: @ast::capture_clause = @{ - copies: [], - moves: [] - }; - let wrapper_expr: ast::expr = { id: cx.sess.next_node_id(), node: ast::expr_fn(ast::proto_bare, wrapper_decl, - wrapper_body, wrapper_capture), + wrapper_body, []), span: span }; |
