Skip to content

Commit 34f8e62

Browse files
committed
Remove outdated FIXME: #10604 was fixed by #11717.
1 parent 6076fef commit 34f8e62

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/librustc_trans/adt.rs

-2
Original file line numberDiff line numberDiff line change
@@ -245,8 +245,6 @@ fn generic_type_of<'a, 'tcx>(cx: &CrateContext<'a, 'tcx>,
245245
// So we start with the discriminant, pad it up to the alignment with
246246
// more of its own type, then use alignment-sized ints to get the rest
247247
// of the size.
248-
//
249-
// FIXME #10604: this breaks when vector types are present.
250248
let size = size.bytes();
251249
let align = align.abi();
252250
let discr_ty = Type::from_integer(cx, discr);

0 commit comments

Comments
 (0)