about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
diff options
context:
space:
mode:
authorJoshua Nelson <jnelson@cloudflare.com>2022-07-01 00:05:00 -0500
committerJoshua Nelson <jnelson@cloudflare.com>2022-07-10 15:39:07 -0500
commitb30315d64f75b26fc20d3df975a48cd1e149f28f (patch)
tree3fb11312783fddff926aa54326bc7fe8770362f4 /compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
parent17355a3b9f30e16870a1890033bd13463c664f81 (diff)
downloadrust-b30315d64f75b26fc20d3df975a48cd1e149f28f.tar.gz
rust-b30315d64f75b26fc20d3df975a48cd1e149f28f.zip
Fix drop-tracking ICE when a struct containing a field with a `Drop` impl is used across an await
Previously, drop-tracking would incorrectly assume the struct would be dropped immediately, which
was not true: when the field had a type with a manual `Drop` impl, the drop becomes observable and
has to be dropped after the await instead.

For reasons I don't understand, this also fixes another error crater popped up related to type parameters.

 #98476
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions