about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorMatthew Jasper <mjjasper1@gmail.com>2018-09-23 16:07:45 +0100
committerMatthew Jasper <mjjasper1@gmail.com>2018-09-23 20:27:41 +0100
commit4603fb8862ae5b9b0a82aa848a0bed4e36efc3d6 (patch)
treedfd613b50993c6b2d118f33918254ece295f014c /src/rustllvm/RustWrapper.cpp
parentd3f9af88919f213f70147da0317e4fc4b54fc830 (diff)
downloadrust-4603fb8862ae5b9b0a82aa848a0bed4e36efc3d6.tar.gz
rust-4603fb8862ae5b9b0a82aa848a0bed4e36efc3d6.zip
Rework checking for borrows conflicting with drops
Previously, we would split the drop access into multiple checks for each
field of a struct/tuple/closure and through `Box` dereferences. This
changes this to check if the borrow is accessed by the drop in
places_conflict.

This also allows us to handle enums in a simpler way, since we don't
have to construct any new places.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions