diff options
| author | Eric Holk <ericholk@microsoft.com> | 2022-05-13 16:25:22 -0700 |
|---|---|---|
| committer | Eric Holk <ericholk@microsoft.com> | 2022-05-13 16:25:22 -0700 |
| commit | 5c98737715f60ce180a3b607fd1b96c709f6807d (patch) | |
| tree | 0a0e0ea2048b1ab1fd962e0c2f3611c543bb3feb /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | |
| parent | d4c364347ce65cf083d4419195b8232440928d4d (diff) | |
| download | rust-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
