From 26f4ebe7a0b166cbfb04f6e8df16cb799f81058b Mon Sep 17 00:00:00 2001 From: "Felix S. Klock II" Date: Wed, 29 Jul 2015 19:43:26 +0200 Subject: [PATCH] Revise a comment to include reference to issue #26403. --- src/librustc_trans/trans/glue.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/librustc_trans/trans/glue.rs b/src/librustc_trans/trans/glue.rs index 67e2e4cba4c3..91b20f0b9ded 100644 --- a/src/librustc_trans/trans/glue.rs +++ b/src/librustc_trans/trans/glue.rs @@ -439,10 +439,12 @@ pub fn size_and_align_of_dst<'blk, 'tcx>(bcx: Block<'blk, 'tcx>, t: Ty<'tcx>, in let dbloc = DebugLoc::None; - // #27023 FIXME: We should be adding any necessary padding + // FIXME (#26403, #27023): We should be adding padding // to `sized_size` (to accommodate the `unsized_align` // required of the unsized field that follows) before - // summing it with `sized_size`. + // summing it with `sized_size`. (Note that since #26403 + // is unfixed, we do not yet add the necessary padding + // here. But this is where the add would go.) // Return the sum of sizes and max of aligns. let mut size = Add(bcx, sized_size, unsized_size, dbloc);