about summary refs log tree commit diff
path: root/compiler/rustc_span/src
diff options
context:
space:
mode:
authorMara Bos <m-ou.se@m-ou.se>2025-05-01 11:53:51 +0200
committerMara Bos <m-ou.se@m-ou.se>2025-05-01 11:55:23 +0200
commit36c6633b0fb422e35f78de6fb9f0df77d1f4ba23 (patch)
tree26c102c31bea01a0c11bdc5a9b6c932b8b3a674f /compiler/rustc_span/src
parent3e969d433d5c4f7001e14dba1c9a00a591937a4f (diff)
downloadrust-36c6633b0fb422e35f78de6fb9f0df77d1f4ba23.tar.gz
rust-36c6633b0fb422e35f78de6fb9f0df77d1f4ba23.zip
Clean up "const" situation in format_args!().
Rather than marking the Argument::new_display etc. functions as
non-const, this marks the Arguments::new_v1 functions as non-const.
Diffstat (limited to 'compiler/rustc_span/src')
-rw-r--r--compiler/rustc_span/src/symbol.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_span/src/symbol.rs b/compiler/rustc_span/src/symbol.rs
index ba3e6d7ca82..7a1fb36324b 100644
--- a/compiler/rustc_span/src/symbol.rs
+++ b/compiler/rustc_span/src/symbol.rs
@@ -174,7 +174,6 @@ symbols! {
         Arc,
         ArcWeak,
         Argument,
-        ArgumentMethods,
         ArrayIntoIter,
         AsMut,
         AsRef,
@@ -249,6 +248,7 @@ symbols! {
         Error,
         File,
         FileType,
+        FmtArgumentsNew,
         Fn,
         FnMut,
         FnOnce,