Skip to content

Commit cd01ecf

Browse files
jldcatamorphism
authored andcommitted
One more place where for loops and their bodies need to be unconfused.
1 parent 33414d8 commit cd01ecf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc/middle/trans/callee.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -633,7 +633,7 @@ fn trans_arg_expr(bcx: block,
633633
_
634634
}) =>
635635
{
636-
let scratch_ty = expr_ty(bcx, blk);
636+
let scratch_ty = expr_ty(bcx, arg_expr);
637637
let scratch = alloc_ty(bcx, scratch_ty);
638638
let arg_ty = expr_ty(bcx, arg_expr);
639639
let proto = ty::ty_fn_proto(arg_ty);

0 commit comments

Comments
 (0)