diff options
Diffstat (limited to 'src/rustc/front/test.rs')
| -rw-r--r-- | src/rustc/front/test.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rustc/front/test.rs b/src/rustc/front/test.rs index 61b2816c2e6..ce101a5ce4e 100644 --- a/src/rustc/front/test.rs +++ b/src/rustc/front/test.rs @@ -359,7 +359,7 @@ fn mk_test_wrapper(cx: test_ctxt, }; let call_stmt: ast::stmt = nospan( - ast::stmt_expr(@call_expr, cx.sess.next_node_id())); + ast::stmt_semi(@call_expr, cx.sess.next_node_id())); let wrapper_decl: ast::fn_decl = { inputs: ~[], |
