Add missing argument to a debug! call in trans_arg_expr
This commit is contained in:
parent
132cfcdd88
commit
08a5278bb5
1 changed files with 1 additions and 1 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue