Sign in
rust
/
rust-lang
/
rust
/
HEAD
/
.
/
tests
/
ui
/
async-await
/
async-drop
/
live-dead-storage2.rs
blob: 18df870785e3f8cab9cefdafcd8c62dce8c2fd90 [
file
] [
log
] [
blame
]
// ex-ice: #140531
//@ compile-flags: -Zlint-mir --crate-type lib
//@ edition:2024
//@ check-pass
#![
feature
(
async_drop
)]
#![
allow
(
incomplete_features
)]
async
fn
call_once
(
f
:
impl
AsyncFnOnce
())
{
let
fut
=
Box
::
pin
(
f
());
}