about summary refs log tree commit diff
path: root/tests/mir-opt/lower_array_len.array_bound.NormalizeArrayLen.panic-unwind.diff
diff options
context:
space:
mode:
authorBen Kimock <kimockb@gmail.com>2021-12-19 00:18:31 -0500
committerBen Kimock <kimockb@gmail.com>2021-12-19 15:14:52 -0500
commit4f808161bc2852bff52cf3dd1bb4baf3003ef181 (patch)
tree09108ee50e6839e6c3823f64dbe07308d9e3808f /tests/mir-opt/lower_array_len.array_bound.NormalizeArrayLen.panic-unwind.diff
parentdaf2204aa4954a9426cee93eb1baa2b26eb69070 (diff)
downloadrust-4f808161bc2852bff52cf3dd1bb4baf3003ef181.tar.gz
rust-4f808161bc2852bff52cf3dd1bb4baf3003ef181.zip
Implement split_at_spare_mut directly
The previous implementation used slice::as_mut_ptr_range to derive the
pointer for the spare capacity slice. This is invalid, because that
pointer is derived from the initialized region, so it does not have
provenance over the uninitialized region.
Diffstat (limited to 'tests/mir-opt/lower_array_len.array_bound.NormalizeArrayLen.panic-unwind.diff')
0 files changed, 0 insertions, 0 deletions