From d24894e181779350486df07fe5f0dc79a673116d Mon Sep 17 00:00:00 2001 From: Brian Anderson Date: Thu, 20 Oct 2011 20:54:12 -0700 Subject: [PATCH] Remove unused empty_fn_ty from rustc::front::test --- src/comp/front/test.rs | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/comp/front/test.rs b/src/comp/front/test.rs index 38afc23b32a0..fa48c9fbfb88 100644 --- a/src/comp/front/test.rs +++ b/src/comp/front/test.rs @@ -213,15 +213,6 @@ fn mk_tests(cx: test_ctxt) -> @ast::item { ret @item; } -fn empty_fn_ty() -> ast::ty { - let proto = ast::proto_bare; - let input_ty = []; - let ret_ty = @nospan(ast::ty_nil); - let cf = ast::return_val; - let constrs = []; - ret nospan(ast::ty_fn(proto, input_ty, ret_ty, cf, constrs)); -} - // The ast::ty of [std::test::test_desc] fn mk_test_desc_vec_ty(cx: test_ctxt) -> @ast::ty { let test_fn_ty: ast::ty = nospan(