mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 14:55:26 +00:00
12 lines
236 B
Rust
12 lines
236 B
Rust
//@ known-bug: rust-lang/rust#128695
|
|
//@ edition: 2021
|
|
|
|
use core::pin::{pin, Pin};
|
|
|
|
fn main() {
|
|
let fut = pin!(async {
|
|
let async_drop_fut = pin!(core::future::async_drop(async {}));
|
|
(async_drop_fut).await;
|
|
});
|
|
}
|