Skip to content

Commit c9d5494

Browse files
committed
Rollup merge of #22961 - dotdash:branch_drop, r=eddyb
2 parents 718b591 + fe91974 commit c9d5494

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/librustc_trans/trans/glue.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -313,8 +313,7 @@ fn trans_struct_drop<'blk, 'tcx>(bcx: Block<'blk, 'tcx>,
313313
ty::mk_nil(bcx.tcx()));
314314
let (_, variant_cx) = invoke(variant_cx, dtor_addr, &args[..], dtor_ty, DebugLoc::None);
315315

316-
variant_cx.fcx.pop_and_trans_custom_cleanup_scope(variant_cx, field_scope);
317-
variant_cx
316+
variant_cx.fcx.pop_and_trans_custom_cleanup_scope(variant_cx, field_scope)
318317
})
319318
}
320319

0 commit comments

Comments
 (0)