about summary refs log tree commit diff
path: root/compiler/rustc_span/src
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2025-05-30 00:37:27 +1000
committerNicholas Nethercote <n.nethercote@gmail.com>2025-06-20 13:17:39 +1000
commit4a1f445142e2446d8139f91cf85d4e93083b33ef (patch)
treeeaf3124d64058ff93c6a737cea4b02f7b18e384a /compiler/rustc_span/src
parent42b02019dc9beaffc424719c6afa9c64f1f4e10e (diff)
downloadrust-4a1f445142e2446d8139f91cf85d4e93083b33ef.tar.gz
rust-4a1f445142e2446d8139f91cf85d4e93083b33ef.zip
Use a symbol for `ExpansionConfig::crate_name`.
This avoids some symbol interning and `to_string` conversions.
Diffstat (limited to 'compiler/rustc_span/src')
-rw-r--r--compiler/rustc_span/src/symbol.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_span/src/symbol.rs b/compiler/rustc_span/src/symbol.rs
index baadff16120..60f3d5fecb0 100644
--- a/compiler/rustc_span/src/symbol.rs
+++ b/compiler/rustc_span/src/symbol.rs
@@ -2052,6 +2052,7 @@ symbols! {
         static_recursion,
         staticlib,
         std,
+        std_lib_injection,
         std_panic,
         std_panic_2015_macro,
         std_panic_macro,