]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/lifetimes/issue-83737-binders-across-types.rs
2 // compile-flags: --edition 2018
3 // compile-flags: --crate-type rlib
5 use std
::future
::Future
;
7 async
fn handle
<F
>(slf
: &F
)
9 F
: Fn(&()) -> Box
<dyn Future
<Output
= ()> + Unpin
>,