Skip to content

Commit b698884

Browse files
committed
auto merge of #6125 : luqmana/rust/newtype-drop, r=pcwalton
#6090 r? @brson
2 parents 69316f0 + c2b8f98 commit b698884

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/librustc/middle/trans/base.rs

+1
Original file line numberDiff line numberDiff line change
@@ -2071,6 +2071,7 @@ pub fn trans_tuple_struct(ccx: @CrateContext,
20712071
let bcx = copy_args_to_allocas(fcx, bcx, fn_args, raw_llargs, arg_tys);
20722072
20732073
let repr = adt::represent_type(ccx, tup_ty);
2074+
adt::trans_start_init(bcx, repr, fcx.llretptr.get(), 0);
20742075
20752076
for fields.eachi |i, field| {
20762077
let lldestptr = adt::trans_field_ptr(bcx,

0 commit comments

Comments
 (0)