about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorFelix S. Klock II <pnkfelix@pnkfx.org>2015-07-29 19:43:26 +0200
committerFelix S. Klock II <pnkfelix@pnkfx.org>2015-07-29 19:43:26 +0200
commit26f4ebe7a0b166cbfb04f6e8df16cb799f81058b (patch)
tree6025f6250d57abe760aec9101b526911b06e490d /src
parent5a156190cb74ac92432e6ec8c91048ffa91a8a98 (diff)
downloadrust-26f4ebe7a0b166cbfb04f6e8df16cb799f81058b.tar.gz
rust-26f4ebe7a0b166cbfb04f6e8df16cb799f81058b.zip
Revise a comment to include reference to issue #26403.
Diffstat (limited to 'src')
-rw-r--r--src/librustc_trans/trans/glue.rs6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/librustc_trans/trans/glue.rs b/src/librustc_trans/trans/glue.rs
index 67e2e4cba4c..91b20f0b9de 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);