mirror of
https://github.com/rust-lang/rust.git
synced 2025-06-05 11:48:30 +00:00
Extend documentation of const_format_args!().
This commit is contained in:
parent
0b8033ad8d
commit
312bf8e0b8
@ -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…
Reference in New Issue
Block a user