Skip to content

Commit 08a5278

Browse files
committed
Add missing argument to a debug! call in trans_arg_expr
1 parent 132cfcd commit 08a5278

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc/middle/trans/callee.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -930,7 +930,7 @@ pub fn trans_arg_expr(bcx: block,
930930
ByRef(_) => val = scratch.val,
931931
}
932932
} else {
933-
debug!("by copy arg with type %s");
933+
debug!("by copy arg with type %s", bcx.ty_to_str(arg_datum.ty));
934934
match arg_datum.mode {
935935
ByRef(_) => val = Load(bcx, arg_datum.val),
936936
ByValue => val = arg_datum.val,

0 commit comments

Comments
 (0)