Add missing argument to a debug! call in trans_arg_expr

This commit is contained in:
Björn Steinbrink 2013-06-25 22:01:37 +02:00
parent 132cfcdd88
commit 08a5278bb5

View file

@ -930,7 +930,7 @@ pub fn trans_arg_expr(bcx: block,
ByRef(_) => val = scratch.val,
}
} else {
debug!("by copy arg with type %s");
debug!("by copy arg with type %s", bcx.ty_to_str(arg_datum.ty));
match arg_datum.mode {
ByRef(_) => val = Load(bcx, arg_datum.val),
ByValue => val = arg_datum.val,