about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorEric Holk <ericholk@microsoft.com>2022-05-13 16:25:22 -0700
committerEric Holk <ericholk@microsoft.com>2022-05-13 16:25:22 -0700
commit5c98737715f60ce180a3b607fd1b96c709f6807d (patch)
tree0a0e0ea2048b1ab1fd962e0c2f3611c543bb3feb /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parentd4c364347ce65cf083d4419195b8232440928d4d (diff)
downloadrust-5c98737715f60ce180a3b607fd1b96c709f6807d.tar.gz
rust-5c98737715f60ce180a3b607fd1b96c709f6807d.zip
Drop tracking: handle invalid assignments better
Previously this test case was crashing with an index out of bounds error
deep in the call to `needs_drop`. We avoid this by detecting clearly
invalid assignees in the `mutate` callback and ignoring these.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions