]> git.lizzy.rs Git - rust.git/blob - src/test/ui/async-await/issues/issue-59001.rs
Merge commit '5ff7b632a95bac6955611d85040859128902c580' into sync-rustfmt-subtree
[rust.git] / src / test / ui / async-await / issues / issue-59001.rs
1 // check-pass
2 // edition:2018
3
4 use std::future::Future;
5
6 async fn enter<'a, F, R>(mut callback: F)
7 where
8     F: FnMut(&'a mut i32) -> R,
9     R: Future<Output = ()> + 'a,
10 {
11     unimplemented!()
12 }
13
14 fn main() {}