about summary refs log tree commit diff
path: root/compiler/rustc_span
diff options
context:
space:
mode:
authorTakayuki Maeda <takoyaki0316@gmail.com>2022-07-18 14:25:34 +0900
committerTakayuki Maeda <takoyaki0316@gmail.com>2022-07-18 14:25:34 +0900
commita22934bea1d02870cda58eb6297ff9332fcc2104 (patch)
treef5f728efbdc651909b4eee8ca7e094a3b35f18df /compiler/rustc_span
parent95e77648e466c780a9adce2fa3d3eb5e423dc04e (diff)
downloadrust-a22934bea1d02870cda58eb6297ff9332fcc2104.tar.gz
rust-a22934bea1d02870cda58eb6297ff9332fcc2104.zip
avoid `Symbol` to `&str` conversions
Diffstat (limited to 'compiler/rustc_span')
-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 9b6967621f1..5e26809142d 100644
--- a/compiler/rustc_span/src/symbol.rs
+++ b/compiler/rustc_span/src/symbol.rs
@@ -257,6 +257,7 @@ symbols! {
         Result,
         Return,
         Right,
+        Rust,
         RustcDecodable,
         RustcEncodable,
         Send,