Unnamed repository; edit this file 'description' to name the repository.
Auto merge of #13099 - jonas-schievink:add-decorator-token, r=jonas-schievink
fix: Register decorator token type to avoid panic
Followup to https://github.com/rust-lang/rust-analyzer/pull/13084
| -rw-r--r-- | crates/rust-analyzer/src/semantic_tokens.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/rust-analyzer/src/semantic_tokens.rs b/crates/rust-analyzer/src/semantic_tokens.rs index b3f5493bf2..4493da19c1 100644 --- a/crates/rust-analyzer/src/semantic_tokens.rs +++ b/crates/rust-analyzer/src/semantic_tokens.rs @@ -32,6 +32,7 @@ macro_rules! define_semantic_token_types { SemanticTokenType::TYPE_PARAMETER, SemanticTokenType::TYPE, SemanticTokenType::VARIABLE, + SemanticTokenType::DECORATOR, $($ident),* ]; }; |