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>> {
939
939
// FIXME(eddyb) this might be incorrect - it doesn't
940
940
// account for wrap-around (end < start) ranges.
941
941
assert ! ( scalar. valid_range. start <= start) ;
942
- // scalar.valid_range =
943
- // AllocationRange { start, end: scalar.valid_range.end };
944
942
scalar. valid_range . start = start;
945
943
}
946
944
if let Bound :: Included ( end) = end {
947
945
// FIXME(eddyb) this might be incorrect - it doesn't
948
946
// account for wrap-around (end < start) ranges.
949
947
assert ! ( scalar. valid_range. end >= end) ;
950
- // scalar.valid_range =
951
- // AllocationRange { start: scalar.valid_range.start, end };
952
948
scalar. valid_range . end = end;
953
949
}
954
950
You can’t perform that action at this time.
0 commit comments