about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2014-04-15 21:17:00 -0700
committerbors <bors@rust-lang.org>2014-04-15 21:17:00 -0700
commit74bd2338eb25d0d165458a09d7aab3d2ecb98c48 (patch)
treeb1c7fb6409a322c2b95298f3a2ad1a07307b1381 /src/rustllvm/RustWrapper.cpp
parentb400a4d27256dba01089c56d856f6f0b84c63e2f (diff)
parent0cc257eb42c72d26a151623825ecc6a8074c53cf (diff)
downloadrust-74bd2338eb25d0d165458a09d7aab3d2ecb98c48.tar.gz
rust-74bd2338eb25d0d165458a09d7aab3d2ecb98c48.zip
auto merge of #13390 : alexcrichton/rust/run-some-destructors, r=brson
Previously, if statements of the form "Foo;" or "let _ = Foo;" were encountered
where Foo had a destructor, the destructors were not run. This changes
the relevant locations in trans to check for ty::type_needs_drop and invokes
trans_to_lvalue instead of trans_into.

Closes #4734
Closes #6892
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions