Skip to content

Commit 935272b

Browse files
committed
---
yaml --- r: 229184 b: refs/heads/try c: 26f4ebe h: refs/heads/master v: v3
1 parent 80eba7c commit 935272b

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
refs/heads/master: aca2057ed5fb7af3f8905b2bc01f72fa001c35c8
33
refs/heads/snap-stage3: 1af31d4974e33027a68126fa5a5a3c2c6491824f
4-
refs/heads/try: 5a156190cb74ac92432e6ec8c91048ffa91a8a98
4+
refs/heads/try: 26f4ebe7a0b166cbfb04f6e8df16cb799f81058b
55
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
66
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
77
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503

branches/try/src/librustc_trans/trans/glue.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -439,10 +439,12 @@ pub fn size_and_align_of_dst<'blk, 'tcx>(bcx: Block<'blk, 'tcx>, t: Ty<'tcx>, in
439439

440440
let dbloc = DebugLoc::None;
441441

442-
// #27023 FIXME: We should be adding any necessary padding
442+
// FIXME (#26403, #27023): We should be adding padding
443443
// to `sized_size` (to accommodate the `unsized_align`
444444
// required of the unsized field that follows) before
445-
// summing it with `sized_size`.
445+
// summing it with `sized_size`. (Note that since #26403
446+
// is unfixed, we do not yet add the necessary padding
447+
// here. But this is where the add would go.)
446448

447449
// Return the sum of sizes and max of aligns.
448450
let mut size = Add(bcx, sized_size, unsized_size, dbloc);

0 commit comments

Comments
 (0)