about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2017-06-03 18:02:57 +0000
committerbors <bors@rust-lang.org>2017-06-03 18:02:57 +0000
commit0453cf520d4176140fc199d811e54538600daa4f (patch)
tree8a2829bb1d73726a04ed1d8614ae2a82b3fb91a8 /src/rustllvm/RustWrapper.cpp
parenta8dc246dc73cddbad1dee4a8696f8ccc06f12a79 (diff)
parent763ef816580a31d77c38c0587ab42d00decdae81 (diff)
downloadrust-0453cf520d4176140fc199d811e54538600daa4f.tar.gz
rust-0453cf520d4176140fc199d811e54538600daa4f.zip
Auto merge of #42369 - RalfJung:drop-glue, r=eddyb
array drop glue: avoid using out-of-bounds index lvalues

Avoid using out-of-bounds index lvalues. Miri doesn't like them, and they seem fishy in general.
Instead, use a pointer cast to compute the address of the beginning, and Offset to compute the end.

Cc @arielb1 @nagisa
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions