rust/compiler/rustc_ast_passes
Nicholas Bishop f91b5ceaf2 Explicitly reject const C-variadic functions
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".
2023-10-30 10:38:25 -04:00
..
src Explicitly reject const C-variadic functions 2023-10-30 10:38:25 -04:00
Cargo.toml Add rustc_fluent_macro to decouple fluent from rustc_macros 2023-04-18 18:56:22 +00:00
messages.ftl Explicitly reject const C-variadic functions 2023-10-30 10:38:25 -04:00