rust/tests/ui/async-await/issues/issue-59001.rs
2024-02-16 20:02:50 +00:00

15 lines
211 B
Rust

//@ check-pass
//@ edition:2018
use std::future::Future;
async fn enter<'a, F, R>(mut callback: F)
where
F: FnMut(&'a mut i32) -> R,
R: Future<Output = ()> + 'a,
{
unimplemented!()
}
fn main() {}