summaryrefslogtreecommitdiffstats
path: root/tests/ui/async-await/issues/issue-59001.rs
blob: 4ddebcf20a368f70e5c0b0663a12f8a4bbe32d22 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// 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() {}