mirror of
https://github.com/rust-lang/rust
synced 2024-10-04 15:50:51 +00:00
f91b5ceaf2
Trying to use C-variadics in a const function would previously fail with an error like "destructor of `VaListImpl<'_>` cannot be evaluated at compile-time". Add an explicit check for const C-variadics to provide a clearer error: "functions cannot be both `const` and C-variadic". |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
messages.ftl |