Extend documentation of const_format_args!().

This commit is contained in:
Mara Bos 2021-07-10 18:45:28 +02:00
parent 0b8033ad8d
commit 312bf8e0b8

View file

@ -838,6 +838,10 @@ pub(crate) mod builtin {
}
/// 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.
#[cfg(not(bootstrap))]
#[unstable(feature = "const_format_args", issue = "none")]
#[allow_internal_unstable(fmt_internals, const_fmt_arguments_new)]