diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2025-05-30 02:29:06 +1000 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2025-06-20 13:18:41 +1000 |
| commit | 1edf2019370356b81ac60d43899bf7b828771470 (patch) | |
| tree | 6da666dc3bb5437b7a38dd149191ed630fe8ce9e /compiler/rustc_span/src | |
| parent | 4a1f445142e2446d8139f91cf85d4e93083b33ef (diff) | |
| download | rust-1edf2019370356b81ac60d43899bf7b828771470.tar.gz rust-1edf2019370356b81ac60d43899bf7b828771470.zip | |
Avoid some unnecessary symbol interning.
- `Ident::from_str_and_span` -> `Ident::new` when the string is pre-interned. - `Ident::from_str` -> `Ident::with_dummy_span` when the string is pre-interned. - `_d` and `_e` are unused.
Diffstat (limited to 'compiler/rustc_span/src')
| -rw-r--r-- | compiler/rustc_span/src/symbol.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/compiler/rustc_span/src/symbol.rs b/compiler/rustc_span/src/symbol.rs index 60f3d5fecb0..9924322ae9d 100644 --- a/compiler/rustc_span/src/symbol.rs +++ b/compiler/rustc_span/src/symbol.rs @@ -396,8 +396,7 @@ symbols! { __S, __awaitee, __try_var, - _d, - _e, + _t, _task_context, a32, aarch64_target_feature, |
