diff options
| author | bors <bors@rust-lang.org> | 2018-09-24 14:47:17 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2018-09-24 14:47:17 +0000 |
| commit | a072d1bca6282d1d2fbec103d12393527eb5a868 (patch) | |
| tree | 75e68c7a54376c61581e00d6e8c10967e1e52b07 /src/rustllvm/RustWrapper.cpp | |
| parent | e5c6575801028f5e089ef2e7720aa1af9d452334 (diff) | |
| parent | cfbd1a9a250ba3a82041c46605dcf16356f33727 (diff) | |
| download | rust-a072d1bca6282d1d2fbec103d12393527eb5a868.tar.gz rust-a072d1bca6282d1d2fbec103d12393527eb5a868.zip | |
Auto merge of #54509 - matthewjasper:better-drop-access, r=pnkfelix
[NLL] 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`. We also now handle enums containing `Drop` types. Closes #53569 r? @nikomatsakis cc @pnkfelix
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
