Skip to content

Commit d0cdf80

Browse files
committed
Fix rustc_diagnostic_item of format_args_nl_macro
1 parent b544231 commit d0cdf80

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/core/src/macros/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1012,7 +1012,6 @@ pub(crate) mod builtin {
10121012
///
10131013
/// This macro will be removed once `format_args` is allowed in const contexts.
10141014
#[unstable(feature = "const_format_args", issue = "none")]
1015-
#[rustc_diagnostic_item = "format_args_nl_macro"]
10161015
#[allow_internal_unstable(fmt_internals, const_fmt_arguments_new)]
10171016
#[rustc_builtin_macro]
10181017
#[macro_export]
@@ -1028,6 +1027,7 @@ pub(crate) mod builtin {
10281027
reason = "`format_args_nl` is only for internal \
10291028
language use and is subject to change"
10301029
)]
1030+
#[rustc_diagnostic_item = "format_args_nl_macro"]
10311031
#[allow_internal_unstable(fmt_internals)]
10321032
#[rustc_builtin_macro]
10331033
#[macro_export]

0 commit comments

Comments
 (0)