mirror of
https://github.com/rust-lang/rust.git
synced 2025-04-28 02:57:37 +00:00
auto merge of #6125 : luqmana/rust/newtype-drop, r=pcwalton
#6090 r? @brson
This commit is contained in:
commit
b6988843e8
@ -2071,6 +2071,7 @@ pub fn trans_tuple_struct(ccx: @CrateContext,
|
||||
let bcx = copy_args_to_allocas(fcx, bcx, fn_args, raw_llargs, arg_tys);
|
||||
|
||||
let repr = adt::represent_type(ccx, tup_ty);
|
||||
adt::trans_start_init(bcx, repr, fcx.llretptr.get(), 0);
|
||||
|
||||
for fields.eachi |i, field| {
|
||||
let lldestptr = adt::trans_field_ptr(bcx,
|
||||
|
Loading…
Reference in New Issue
Block a user