Closed
Description
While #59823 resolved async fn
arguments being dropped before the function was polled, the resulting drop order still does not exactly match the equivalent fn
.
This is visible in this playground example which compares the drop order of four functions with and without fn
and async fn
. This is a behavior of closures which can be seen in this playground example which approximates the desugaring of async fn
s.