Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit 8dcf4c7

Browse files
committed
Auto merge of rust-lang#13099 - jonas-schievink:add-decorator-token, r=jonas-schievink
fix: Register decorator token type to avoid panic Followup to rust-lang/rust-analyzer#13084
2 parents 27e17ff + 5804412 commit 8dcf4c7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

crates/rust-analyzer/src/semantic_tokens.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ macro_rules! define_semantic_token_types {
3232
SemanticTokenType::TYPE_PARAMETER,
3333
SemanticTokenType::TYPE,
3434
SemanticTokenType::VARIABLE,
35+
SemanticTokenType::DECORATOR,
3536
$($ident),*
3637
];
3738
};

0 commit comments

Comments
 (0)