about summary refs log tree commit diff
path: root/src/comp/front
diff options
context:
space:
mode:
authorMarijn Haverbeke <marijnh@gmail.com>2011-09-14 10:38:23 +0200
committerMarijn Haverbeke <marijnh@gmail.com>2011-09-14 10:38:23 +0200
commit6eb9738a661f577eeb972032b5570013e6bcafdd (patch)
tree526faf2c5e590605d2d796371c75a9e98c35f1ef /src/comp/front
parentf6fe07d1f3f8e98120169dea59ebc4d2eee4255c (diff)
downloadrust-6eb9738a661f577eeb972032b5570013e6bcafdd.tar.gz
rust-6eb9738a661f577eeb972032b5570013e6bcafdd.zip
Rename ast::controlflow to ast::ret_style
It will include information about returning by alias.
Diffstat (limited to 'src/comp/front')
-rw-r--r--src/comp/front/test.rs6
1 files changed, 3 insertions, 3 deletions
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;