about summary refs log tree commit diff
path: root/tests/ui/async-await/issues/issue-59001.rs
blob: 6901bd932aceb68b8ebb2723ad36ab0002cae8d3 (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() {}