Files
rust/tests/ui/inference/note-and-explain-ReVar-124973.rs

10 lines
294 B
Rust
Raw Normal View History

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