summary refs log tree commit diff
path: root/tests/coverage/try-in-macro.attr.cov-map
diff options
context:
space:
mode:
authorStuart Cook <Zalathar@users.noreply.github.com>2025-07-31 15:41:59 +1000
committerGitHub <noreply@github.com>2025-07-31 15:41:59 +1000
commitf478bec907b6c7c945d9de4da488d55f6a90dd82 (patch)
treec817fb4094f8f8266114d2407e57197dfc74744e /tests/coverage/try-in-macro.attr.cov-map
parentdc8aec4cf2b27ea8cc419eb9f9a3d1bcd4ddc64c (diff)
parentccc2f78c3767e68005b0c873f31f79ef6680a3de (diff)
downloadrust-f478bec907b6c7c945d9de4da488d55f6a90dd82.tar.gz
rust-f478bec907b6c7c945d9de4da488d55f6a90dd82.zip
Rollup merge of #143672 - beepster4096:box_drop_flags_again, r=oli-obk
Fix Box allocator drop elaboration

New version of rust-lang/rust#131146.

Clearing Box's drop flag after running its destructor can cause it to skip dropping its allocator, so just don't. Its cleared by the drop ladder code afterwards already.

Unlike the last PR this also handles other types with destructors properly, in the event that we can have open drops on them in the future (by partial initialization or DerefMove or something).

Finally, I also added tests for the interaction with async drop here but I discovered rust-lang/rust#143658, so one of the tests has a `knownbug` annotation. Not sure if it should be in this PR at all though.

Fixes rust-lang/rust#131082

r? wesleywiser - prev. reviewer
Diffstat (limited to 'tests/coverage/try-in-macro.attr.cov-map')
0 files changed, 0 insertions, 0 deletions