One more place where for loops and their bodies need to be unconfused.

This commit is contained in:
Jed Davis 2013-01-08 00:23:25 -08:00 committed by Tim Chevalier
parent 33414d81d1
commit cd01ecfe13

View File

@ -633,7 +633,7 @@ fn trans_arg_expr(bcx: block,
_
}) =>
{
let scratch_ty = expr_ty(bcx, blk);
let scratch_ty = expr_ty(bcx, arg_expr);
let scratch = alloc_ty(bcx, scratch_ty);
let arg_ty = expr_ty(bcx, arg_expr);
let proto = ty::ty_fn_proto(arg_ty);