diff options
| author | Michael Sullivan <sully@msully.net> | 2011-07-25 14:16:12 -0700 |
|---|---|---|
| committer | Michael Sullivan <sully@msully.net> | 2011-07-25 14:18:07 -0700 |
| commit | 25a89e068d8c5aa4a6839d02af2a23c9bf8c7c2b (patch) | |
| tree | 1ced129251de189280fbeb3a8b61665caf047895 /src/comp/front/test.rs | |
| parent | 552bff8a2155e9e404a3cd279a26a374188d65f7 (diff) | |
| download | rust-25a89e068d8c5aa4a6839d02af2a23c9bf8c7c2b.tar.gz rust-25a89e068d8c5aa4a6839d02af2a23c9bf8c7c2b.zip | |
Rename the block type to be blk also. Sorry.
Diffstat (limited to 'src/comp/front/test.rs')
| -rw-r--r-- | src/comp/front/test.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/comp/front/test.rs b/src/comp/front/test.rs index a0d1118bdd0..dc04c8b37a1 100644 --- a/src/comp/front/test.rs +++ b/src/comp/front/test.rs @@ -186,7 +186,7 @@ fn mk_tests(&test_ctxt cx) -> @ast::item { // The vector of test_descs for this crate auto test_descs = mk_test_desc_vec(cx); - let ast::block_ body_= rec(stmts = ~[], + let ast::blk_ body_= rec(stmts = ~[], expr = option::some(test_descs), id = cx.next_node_id()); auto body = nospan(body_); @@ -313,7 +313,7 @@ fn mk_main(&test_ctxt cx) -> @ast::item { auto test_main_call_expr = mk_test_main_call(cx); - let ast::block_ body_ = rec(stmts = ~[], + let ast::blk_ body_ = rec(stmts = ~[], expr = option::some(test_main_call_expr), id = cx.next_node_id()); auto body = rec(node = body_, span = rec(lo=0u, hi=0u)); |
