about summary refs log tree commit diff
path: root/src/comp
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2011-10-20 20:54:12 -0700
committerBrian Anderson <banderson@mozilla.com>2011-10-20 20:54:12 -0700
commitd24894e181779350486df07fe5f0dc79a673116d (patch)
tree0bd216814b5a041a8d5e694ef39be88eb2b69d3c /src/comp
parent4ef2c370592655603cee8ffe5a0f632adc20a597 (diff)
downloadrust-d24894e181779350486df07fe5f0dc79a673116d.tar.gz
rust-d24894e181779350486df07fe5f0dc79a673116d.zip
Remove unused empty_fn_ty from rustc::front::test
Diffstat (limited to 'src/comp')
-rw-r--r--src/comp/front/test.rs9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/comp/front/test.rs b/src/comp/front/test.rs
index 38afc23b32a..fa48c9fbfb8 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(