From dc9f285b069d598f571d70e895726221140f32f0 Mon Sep 17 00:00:00 2001 From: Patrick Walton Date: Thu, 30 Jun 2011 16:19:04 -0700 Subject: [PATCH] rustc: Remove unused variables from last commit --- src/comp/middle/typeck.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/comp/middle/typeck.rs b/src/comp/middle/typeck.rs index 50062f5e492..b9d5860d0e9 100644 --- a/src/comp/middle/typeck.rs +++ b/src/comp/middle/typeck.rs @@ -337,7 +337,6 @@ fn ast_ty_to_ty(&ty::ctxt tcx, &ty_getter getter, &@ast::ty ast_ty) -> ty::t { } case (ast::ty_obj(?meths)) { let vec[ty::method] tmeths = []; - auto f = bind ast_arg_to_arg(tcx, getter, _); for (ast::ty_method m in meths) { auto ins = ~[]; for (ast::ty_arg ta in m.node.inputs) { @@ -535,7 +534,6 @@ mod collect { for (ast::arg a in m.node.meth.decl.inputs) { inputs += ~[ty_of_arg(cx, a)]; } - auto f = bind ty_of_arg(cx, _); auto output = convert(m.node.meth.decl.output); let fn(&@ast::constr) -> @ty::constr_def g =