diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2025-05-30 00:37:27 +1000 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2025-06-20 13:17:39 +1000 |
| commit | 4a1f445142e2446d8139f91cf85d4e93083b33ef (patch) | |
| tree | eaf3124d64058ff93c6a737cea4b02f7b18e384a /compiler/rustc_span/src | |
| parent | 42b02019dc9beaffc424719c6afa9c64f1f4e10e (diff) | |
| download | rust-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.rs | 1 |
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, |
