std

Macro const_format_args

1.38.0 ยท source
macro_rules! const_format_args {
    ($fmt:expr) => { ... };
    ($fmt:expr, $($args:tt)*) => { ... };
}
Expand description

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.