Extend documentation of const_format_args!().
This commit is contained in:
parent
0b8033ad8d
commit
312bf8e0b8
1 changed files with 4 additions and 0 deletions
|
@ -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)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue