diff options
| author | bors <bors@rust-lang.org> | 2022-08-23 15:47:21 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2022-08-23 15:47:21 +0000 |
| commit | 8dcf4c70c4f6b06eb86a128223321cd526fad10a (patch) | |
| tree | 999557b59d9768bdbe0f65746d46ebade1eca021 | |
| parent | 27e17ffd27ac850a2fc7de1d36a83ef440322255 (diff) | |
| parent | 580441286994284c0c6a2f9a093c4f4fc0c41950 (diff) | |
| download | rust-8dcf4c70c4f6b06eb86a128223321cd526fad10a.tar.gz rust-8dcf4c70c4f6b06eb86a128223321cd526fad10a.zip | |
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 b3f5493bf20..4493da19c12 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),* ]; }; |
