]> git.lizzy.rs Git - rust.git/commitdiff
Remove outdated FIXME: #10604 was fixed by #11717.
authorLuqman Aden <laden@csclub.uwaterloo.ca>
Wed, 12 Oct 2016 02:10:54 +0000 (22:10 -0400)
committerLuqman Aden <laden@csclub.uwaterloo.ca>
Thu, 10 Nov 2016 21:12:43 +0000 (16:12 -0500)
src/librustc_trans/adt.rs

index 4d3361c1873f032b33fd490f76a2e31409098fd1..d028dd7e7b5a04dc854388493f3c1f04d3041caa 100644 (file)
@@ -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);