Skip to content

Commit 03ccd4c

Browse files
Mention formatting macros when encountering ArgumentV1::new in const
1 parent 9333699 commit 03ccd4c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

core/src/fmt/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -320,6 +320,7 @@ macro_rules! arg_new {
320320
};
321321
}
322322

323+
#[rustc_diagnostic_item = "ArgumentV1Methods"]
323324
impl<'a> ArgumentV1<'a> {
324325
#[doc(hidden)]
325326
#[unstable(feature = "fmt_internals", reason = "internal to format_args!", issue = "none")]

0 commit comments

Comments
 (0)