about summary refs log tree commit diff
path: root/src/comp/front
diff options
context:
space:
mode:
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()};