diff options
author | bors <bors@rust-lang.org> | 2022-07-14 02:22:48 +0000 |
---|---|---|
committer | bors <bors@rust-lang.org> | 2022-07-14 02:22:48 +0000 |
commit | 8a392a5992fda3f041726fc85e42569497dfd753 (patch) | |
tree | c3f6ede91aff837e4b764b0927e35e6457739ed5 /tests/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs | |
parent | cbb07c27a4d78f95557a6b9cdcc32f98d67a0c22 (diff) | |
parent | b30315d64f75b26fc20d3df975a48cd1e149f28f (diff) | |
download | rust-8a392a5992fda3f041726fc85e42569497dfd753.tar.gz |
Auto merge of #98754 - jyn514:non-trivial-drop, r=compiler-errors
Fix drop-tracking ICE when a struct containing a field with a significant drop is used across an await
Previously, drop-tracking would incorrectly assume the struct would be dropped immediately, which was not true.
Fixes #98476. Also fixes https://github.com/rust-lang/rust/issues/98477, I think because the parent HIR node for type variables is the whole function instead of the expression where the variable is used.
r? `@eholk`
Diffstat (limited to 'tests/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs')
0 files changed, 0 insertions, 0 deletions