mirror of
https://github.com/rust-lang/rust.git
synced 2025-01-23 05:03:47 +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 |