The rustc varargs_without_pattern lint warns when ... is used as a C-variadic argument in a function definition without a pattern name.
gccrs hard-errors on any c_variadic function definition, even the well-formed unsafe extern "C" form:
#![feature(c_variadic)]
pub unsafe extern "C" fn f(args: ...) {}
// gccrs: only foreign or `unsafe extern "C"` functions may be C-variadic
pub unsafe extern "C" fn g(...) {}
// same error
Since the construct cannot be compiled at all, the lint is moot until gccrs supports C-variadic function definitions.
The rustc
varargs_without_patternlint warns when...is used as a C-variadic argument in a function definition without a pattern name.gccrs hard-errors on any
c_variadicfunction definition, even the well-formedunsafe extern "C"form:Since the construct cannot be compiled at all, the lint is moot until gccrs supports C-variadic function definitions.