diff options
| author | Mark Rousskov <mark.simulacrum@gmail.com> | 2021-09-08 13:13:47 -0400 |
|---|---|---|
| committer | Mark Rousskov <mark.simulacrum@gmail.com> | 2021-09-08 20:51:05 -0400 |
| commit | b4e7649d6d4f957e8d5a91a35e48e9ddd4307e63 (patch) | |
| tree | e134949677549bf6a5453aa43d51cc8282a0e869 /library/core/src/macros | |
| parent | 97032a6dfacdd3548e4bff98c90a6b3875a14077 (diff) | |
Bump stage0 compiler to 1.56
Diffstat (limited to 'library/core/src/macros')
| -rw-r--r-- | library/core/src/macros/mod.rs | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/library/core/src/macros/mod.rs b/library/core/src/macros/mod.rs index a3a074ac131..035a748f782 100644 --- a/library/core/src/macros/mod.rs +++ b/library/core/src/macros/mod.rs @@ -842,7 +842,6 @@ pub(crate) mod builtin { /// 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)] #[rustc_builtin_macro] @@ -852,16 +851,6 @@ pub(crate) mod builtin { ($fmt:expr, $($args:tt)*) => {{ /* compiler built-in */ }}; } - /// Same as `format_args`, but can be used in some const contexts. - #[cfg(bootstrap)] - #[unstable(feature = "const_format_args", issue = "none")] - #[macro_export] - macro_rules! const_format_args { - ($($t:tt)*) => { - $crate::format_args!($($t)*) - } - } - /// Same as `format_args`, but adds a newline in the end. #[unstable( feature = "format_args_nl", |
