File tree Expand file tree Collapse file tree 1 file changed +0
-4
lines changed
compiler/rustc_middle/src/ty Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -939,16 +939,12 @@ impl<'tcx> LayoutCx<'tcx, TyCtxt<'tcx>> {
939939 // FIXME(eddyb) this might be incorrect - it doesn't
940940 // account for wrap-around (end < start) ranges.
941941 assert ! ( scalar. valid_range. start <= start) ;
942- // scalar.valid_range =
943- // AllocationRange { start, end: scalar.valid_range.end };
944942 scalar. valid_range . start = start;
945943 }
946944 if let Bound :: Included ( end) = end {
947945 // FIXME(eddyb) this might be incorrect - it doesn't
948946 // account for wrap-around (end < start) ranges.
949947 assert ! ( scalar. valid_range. end >= end) ;
950- // scalar.valid_range =
951- // AllocationRange { start: scalar.valid_range.start, end };
952948 scalar. valid_range . end = end;
953949 }
954950
You can’t perform that action at this time.
0 commit comments