Delegation makes it possible to define C-variadic associated functions #127413
Labels
C-bug
Category: This is a bug.
F-c_variadic
`#![feature(c_variadic)]`
F-fn_delegation
`#![feature(fn_delegation)]`
requires-incomplete-features
This issue requires the use of incomplete features.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
While the following code gets rejected:
The code below doesn't:
And yes,
S::f
does "appear to behave variadic". I'm not a C-FFI or ABI expert, so I guess it's for a very good reason that variadic associated functions generally get rejected.The text was updated successfully, but these errors were encountered: