about summary refs log tree commit diff
diff options
context:
space:
mode:
authorLuqman Aden <laden@csclub.uwaterloo.ca>2016-10-11 22:10:54 -0400
committerLuqman Aden <laden@csclub.uwaterloo.ca>2016-11-10 16:12:43 -0500
commit34f8e62c6bcf46aba647493bbc9e6da430d8b064 (patch)
tree8af05c31a4500e0b32c7cc1c505a6c25a35ae07d
parent6076fef6bd7af7fc34cb9adf8c2b3fa1a35c50bb (diff)
downloadrust-34f8e62c6bcf46aba647493bbc9e6da430d8b064.tar.gz
rust-34f8e62c6bcf46aba647493bbc9e6da430d8b064.zip
Remove outdated FIXME: #10604 was fixed by #11717.
-rw-r--r--src/librustc_trans/adt.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/librustc_trans/adt.rs b/src/librustc_trans/adt.rs
index 4d3361c1873..d028dd7e7b5 100644
--- a/src/librustc_trans/adt.rs
+++ b/src/librustc_trans/adt.rs
@@ -245,8 +245,6 @@ fn generic_type_of<'a, 'tcx>(cx: &CrateContext<'a, 'tcx>,
             // So we start with the discriminant, pad it up to the alignment with
             // more of its own type, then use alignment-sized ints to get the rest
             // of the size.
-            //
-            // FIXME #10604: this breaks when vector types are present.
             let size = size.bytes();
             let align = align.abi();
             let discr_ty = Type::from_integer(cx, discr);