async drop not work without sync drop #140696
Labels
C-bug
Category: This is a bug.
F-async_drop
`#![feature(async_drop)]`
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
I tried this code:
I expected to see this happen:
should print
123
Instead, this happened:
nothing
if try this codes
it print
123
Meta
rustc --version --verbose
:The text was updated successfully, but these errors were encountered: