about summary refs log tree commit diff
path: root/src/comp/front
diff options
context:
space:
mode:
authorNiko Matsakis <niko@alum.mit.edu>2012-02-02 16:50:17 -0800
committerNiko Matsakis <niko@alum.mit.edu>2012-02-05 09:12:44 -0800
commit77b06d24cd76bf808138f1f7df4dcff40260ff38 (patch)
tree1830c6000f2c4a02be320e088389979cefb1414f /src/comp/front
parent5163606d060ccb2c6462d34f590e2a1f30ce4a1f (diff)
downloadrust-77b06d24cd76bf808138f1f7df4dcff40260ff38.tar.gz
rust-77b06d24cd76bf808138f1f7df4dcff40260ff38.zip
infer modes rather than overwriting with expected ty
Diffstat (limited to 'src/comp/front')
-rw-r--r--src/comp/front/test.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/comp/front/test.rs b/src/comp/front/test.rs
index 0e84930658a..5d74165c4b6 100644
--- a/src/comp/front/test.rs
+++ b/src/comp/front/test.rs
@@ -382,7 +382,7 @@ fn mk_main(cx: test_ctxt) -> @ast::item {
     let args_ty: ast::ty = nospan(ast::ty_vec(args_mt));
 
     let args_arg: ast::arg =
-        {mode: ast::by_val,
+        {mode: ast::expl(ast::by_val),
          ty: @args_ty,
          ident: "args",
          id: cx.sess.next_node_id()};