Files
rust/tests/ui/inference/note-and-explain-ReVar-124973.rs
2025-09-08 18:41:21 +02:00

10 lines
294 B
Rust

//@ 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() {}