about summary refs log tree commit diff
path: root/src/comp/front
diff options
context:
space:
mode:
authorNiko Matsakis <niko@alum.mit.edu>2011-12-17 21:12:30 -0800
committerNiko Matsakis <niko@alum.mit.edu>2011-12-19 14:07:46 -0800
commitb2b2a430df33a234be62d97d7efc1f0a3d419b50 (patch)
tree392e4e0d7eb11ed978920a38e89de84b86b80a10 /src/comp/front
parentb0f1a5f051f1e2a5eb164e0d2abb35edea4a4c75 (diff)
downloadrust-b2b2a430df33a234be62d97d7efc1f0a3d419b50.tar.gz
rust-b2b2a430df33a234be62d97d7efc1f0a3d419b50.zip
resolve capture clauses
Diffstat (limited to 'src/comp/front')
-rw-r--r--src/comp/front/test.rs9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/comp/front/test.rs b/src/comp/front/test.rs
index 3e87cc1f78b..a01f17c14df 100644
--- a/src/comp/front/test.rs
+++ b/src/comp/front/test.rs
@@ -347,12 +347,9 @@ fn mk_test_wrapper(cx: test_ctxt,
         body: wrapper_body
     };
 
-    let wrapper_capture: @ast::capture = @{
-        node: {
-            copies: [],
-            moves: []
-        },
-        span: span
+    let wrapper_capture: @ast::capture_clause = @{
+        copies: [],
+        moves: []
     };
 
     let wrapper_expr: ast::expr = {