aboutsummaryrefslogtreecommitdiff
path: root/crates
diff options
context:
space:
mode:
authorGeorge Fraser <[email protected]>2020-11-25 16:39:39 +0000
committerGeorge Fraser <[email protected]>2020-11-25 16:41:40 +0000
commitac314f88c62fed14afd608520ecfea6bdb0a3f31 (patch)
tree88abda546b077d22965e3a06a8ba501067029e6a /crates
parentfe435ffb2728be87df1bba4d0ef5ae8b9626c120 (diff)
Just remove the macro fallback
Diffstat (limited to 'crates')
-rw-r--r--crates/rust-analyzer/src/semantic_tokens.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/rust-analyzer/src/semantic_tokens.rs b/crates/rust-analyzer/src/semantic_tokens.rs
index 783b3df1e..e7991fd28 100644
--- a/crates/rust-analyzer/src/semantic_tokens.rs
+++ b/crates/rust-analyzer/src/semantic_tokens.rs
@@ -40,7 +40,7 @@ macro_rules! define_semantic_token_types {
40define_semantic_token_types![ 40define_semantic_token_types![
41 (ATTRIBUTE, "attribute"), 41 (ATTRIBUTE, "attribute"),
42 (BOOLEAN, "boolean"), 42 (BOOLEAN, "boolean"),
43 (BUILTIN_TYPE, "type.defaultLibrary"), 43 (BUILTIN_TYPE, "builtinType"),
44 (ESCAPE_SEQUENCE, "escapeSequence"), 44 (ESCAPE_SEQUENCE, "escapeSequence"),
45 (FORMAT_SPECIFIER, "formatSpecifier"), 45 (FORMAT_SPECIFIER, "formatSpecifier"),
46 (GENERIC, "generic"), 46 (GENERIC, "generic"),
@@ -70,7 +70,7 @@ macro_rules! define_semantic_token_modifiers {
70} 70}
71 71
72define_semantic_token_modifiers![ 72define_semantic_token_modifiers![
73 (CONSTANT, "readonly"), 73 (CONSTANT, "constant"),
74 (CONTROL_FLOW, "controlFlow"), 74 (CONTROL_FLOW, "controlFlow"),
75 (INJECTED, "injected"), 75 (INJECTED, "injected"),
76 (MUTABLE, "mutable"), 76 (MUTABLE, "mutable"),