Skip to content

Commit ba407e3

Browse files
authored
Rollup merge of #98276 - compiler-errors:const-format-macro, r=oli-obk
Mention formatting macros when encountering `ArgumentV1` method in const Also open to just closing this if it's overkill. There are a lot of other distracting error messages around, so maybe it's not worth fixing just this one. Fixes #93665
2 parents 18cf441 + 03ccd4c commit ba407e3

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)