Macro std::const_format_args
macro_rules! const_format_args {
($fmt : expr) => { ... };
($fmt : expr, $($args : tt) *) => { ... };
}
???? This is a nightly-only experimental API. (
const_format_args)Same as format_args, but can be used in some const contexts.
This macro is used by the panic macros for the const_panic feature.
This macro will be removed once format_args is allowed in const contexts.
© 2010 The Rust Project Developers
Licensed under the Apache License, Version 2.0 or the MIT license, at your option.
https://doc.rust-lang.org/std/macro.const_format_args.html