blob: aa4b909fa76c858850e5b88ecc0518ec39a610a4 (
plain)
1
2
3
4
5
6
7
8
9
|
//@ edition:2018
#![feature(c_variadic)]
async unsafe extern "C" fn multiple_named_lifetimes<'a, 'b>(_: u8, ...) {}
//~^ ERROR functions cannot be both `async` and C-variadic
//~| ERROR hidden type for `impl Future<Output = ()>` captures lifetime that does not appear in bounds
fn main() {}
|