about summary refs log tree commit diff
path: root/src/rustc/front
diff options
context:
space:
mode:
authorNiko Matsakis <niko@alum.mit.edu>2012-05-04 12:33:04 -0700
committerNiko Matsakis <niko@alum.mit.edu>2012-05-04 12:33:08 -0700
commit50ec6bd2c3c472ea140ed60de38dd50c672fc80a (patch)
treedd040e82e0eba8038dd06424091b6fc575f720aa /src/rustc/front
parent8affc78e8a0e420e1755a34fc7f5e4021c512e9d (diff)
downloadrust-50ec6bd2c3c472ea140ed60de38dd50c672fc80a.tar.gz
rust-50ec6bd2c3c472ea140ed60de38dd50c672fc80a.zip
new cap clause syntax
Diffstat (limited to 'src/rustc/front')
-rw-r--r--src/rustc/front/test.rs7
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
     };