2024-05-13 08:59:02 +10:00
|
|
|
//@ edition:2018
|
|
|
|
|
|
|
|
|
|
#![feature(c_variadic)]
|
|
|
|
|
|
|
|
|
|
async unsafe extern "C" fn multiple_named_lifetimes<'a, 'b>(_: u8, ...) {}
|
2025-09-06 15:00:19 +02:00
|
|
|
//~^ ERROR functions cannot be both `async` and C-variadic
|
|
|
|
|
//~| ERROR hidden type for `impl Future<Output = ()>` captures lifetime that does not appear in bounds
|
2024-05-13 08:59:02 +10:00
|
|
|
|
|
|
|
|
fn main() {}
|