From 6eb9738a661f577eeb972032b5570013e6bcafdd Mon Sep 17 00:00:00 2001 From: Marijn Haverbeke Date: Wed, 14 Sep 2011 10:38:23 +0200 Subject: Rename ast::controlflow to ast::ret_style It will include information about returning by alias. --- src/comp/front/test.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/comp/front') diff --git a/src/comp/front/test.rs b/src/comp/front/test.rs index 2f68c1fc671..fcc4f883139 100644 --- a/src/comp/front/test.rs +++ b/src/comp/front/test.rs @@ -178,7 +178,7 @@ fn mk_tests(cx: test_ctxt) -> @ast::item { output: ret_ty, purity: ast::impure_fn, il: ast::il_normal, - cf: ast::return, + cf: ast::return_val, constraints: []}; let proto = ast::proto_fn; @@ -205,7 +205,7 @@ fn empty_fn_ty() -> ast::ty { let proto = ast::proto_fn; let input_ty = []; let ret_ty = @nospan(ast::ty_nil); - let cf = ast::return; + let cf = ast::return_val; let constrs = []; ret nospan(ast::ty_fn(proto, input_ty, ret_ty, cf, constrs)); } @@ -298,7 +298,7 @@ fn mk_main(cx: test_ctxt) -> @ast::item { output: @ret_ty, purity: ast::impure_fn, il: ast::il_normal, - cf: ast::return, + cf: ast::return_val, constraints: []}; let proto = ast::proto_fn; -- cgit 1.4.1-3-g733a5