about summary refs log tree commit diff
path: root/tests/ui/async-await/async-drop
AgeCommit message (Collapse)AuthorLines
2025-07-25async drop tests for boxbeepster4096-0/+255
2025-07-09Make AsyncDrop check that it's being implemented on a local ADTMichael Goulet-0/+45
2025-06-18AsyncDrop trait without sync Drop generates an errorAndrew Zhogin-0/+29
2025-06-14Async drop - fix for StorageLive/StorageDead codegen for pinned async drop ↵Andrew Zhogin-1/+133
future
2025-06-04Rollup merge of #141932 - azhogin:azhogin/async-drop-inside-asyncgen-fix, ↵Matthias Krüger-0/+9
r=oli-obk Fix for async drop inside async gen fn Return value (for yield) is corrected for async drop inside async gen function. In CFG, when internal async drop future is polled and returned `Poll<()>::Pending`, then async gen resume function returns `Poll<(OptRet)>::Pending`. Fixes rust-lang/rust#140530
2025-06-04Fix for async drop inside async gen fnAndrew Zhogin-0/+9
2025-06-01Async drop - type instead of async drop fn and incorrect drop signature ↵Andrew Zhogin-0/+77
don't ICE now
2025-05-23Rollup merge of #140967 - ↵Matthias Krüger-0/+40
azhogin:azhogin/async-drop-poll-shim-for-error-dropee-fix, r=oli-obk Async drop poll shim for error dropee generates noop body Fixes https://github.com/rust-lang/rust/issues/140930. When dropee type for async drop poll shim is `ty::Error(_)`, the generated poll function will be noop body. To avoid ICE in `elaborate_drop`.
2025-05-23Async drop poll shim for error dropee generates noop body (fixes #140930)Andrew Zhogin-0/+40
2025-05-21Rollup merge of #141328 - azhogin:azhogin/async-drop-ice-for-empty-impl-fix, ↵Matthias Krüger-0/+28
r=oli-obk When AsyncDrop impl is empty, sync drop generated in elaborator Fixes #140974.
2025-05-21Rollup merge of #141296 - ↵Matthias Krüger-0/+26
azhogin:azhogin/async-drop-broken-mir-place-deref-fix, r=oli-obk Async drop fix for 'broken mir, place has deref as later projection' fixes #140975 Problem in codegen fixed with an additional temporary local.
2025-05-21Async drop fix for 'broken mir in AsyncDropGlue, place has deref as a later ↵Andrew Zhogin-0/+26
projection' (#140975)
2025-05-21When AsyncDrop impl is empty, sync drop generated in elaborator (Fixes #140974)Andrew Zhogin-0/+28
2025-05-20Warning when dependency crate has async drop types, and the feature is ↵Andrew Zhogin-2/+2
disabled - typo fixed
2025-05-19Warning added when dependency crate has async drop types, and the feature is ↵Andrew Zhogin-1/+15
disabled
2025-05-15Async drop fix for dropee from another crate (#140858)Andrew Zhogin-0/+63
2025-05-12ui/async-drop-initial: factor in panic strategy in destructor size checkJorge Aparicio-1/+4
the size of `AsyncStruct`'s destructor depends on whether the configured panic strategy is 'unwind' or 'abort' so factor that into the test using conditional compilation fixes rust-lang/rust#140939
2025-05-11Async drop fix for async_drop_in_place<T> layout calculated for unspecified TAndrew Zhogin-0/+21
2025-04-29Fix for async drop ice with partly dropped tupleAndrew Zhogin-0/+11
2025-04-28AsyncDrop implementation using shim codegen of ↵Andrew Zhogin-0/+1260
async_drop_in_place::{closure}, scoped async drop added.