Skip to content

Commit 5832267

Browse files
committed
---
yaml --- r: 3514 b: refs/heads/master c: dc9f285 h: refs/heads/master v: v3
1 parent 37e7fa8 commit 5832267

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
---
2-
refs/heads/master: 108cc4e0ed7da8879694e2e8e9c2d548718ac492
2+
refs/heads/master: dc9f285b069d598f571d70e895726221140f32f0

trunk/src/comp/middle/typeck.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,6 @@ fn ast_ty_to_ty(&ty::ctxt tcx, &ty_getter getter, &@ast::ty ast_ty) -> ty::t {
337337
}
338338
case (ast::ty_obj(?meths)) {
339339
let vec[ty::method] tmeths = [];
340-
auto f = bind ast_arg_to_arg(tcx, getter, _);
341340
for (ast::ty_method m in meths) {
342341
auto ins = ~[];
343342
for (ast::ty_arg ta in m.node.inputs) {
@@ -535,7 +534,6 @@ mod collect {
535534
for (ast::arg a in m.node.meth.decl.inputs) {
536535
inputs += ~[ty_of_arg(cx, a)];
537536
}
538-
auto f = bind ty_of_arg(cx, _);
539537

540538
auto output = convert(m.node.meth.decl.output);
541539
let fn(&@ast::constr) -> @ty::constr_def g =

0 commit comments

Comments
 (0)