diff options
author | Joshua Nelson <jnelson@cloudflare.com> | 2022-07-01 00:05:00 -0500 |
---|---|---|
committer | Joshua Nelson <jnelson@cloudflare.com> | 2022-07-10 15:39:07 -0500 |
commit | b30315d64f75b26fc20d3df975a48cd1e149f28f (patch) | |
tree | 3fb11312783fddff926aa54326bc7fe8770362f4 /tests/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs | |
parent | 17355a3b9f30e16870a1890033bd13463c664f81 (diff) | |
download | rust-b30315d64f75b26fc20d3df975a48cd1e149f28f.tar.gz |
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 'tests/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs')
0 files changed, 0 insertions, 0 deletions