rust-lang / wg-grammar

Where the work of WG-grammar, aiming to provide a canonical grammar for Rust, resides
Apache License 2.0
100 stars 20 forks source link

Add unstable C variadic function argument #45

Open ehuss opened 5 years ago

ehuss commented 5 years ago

I haven't looked closely at this, but it looks like you can name the variadic argument now. I believe this was added in https://github.com/rust-lang/rust/pull/57760.

unsafe extern "C" fn f(n: usize, mut args: ...) {}