Skip to content

Commit

Permalink
Auto merge of rust-lang#13099 - jonas-schievink:add-decorator-token, …
Browse files Browse the repository at this point in the history
…r=jonas-schievink

fix: Register decorator token type to avoid panic

Followup to rust-lang/rust-analyzer#13084
  • Loading branch information
bors committed Aug 23, 2022
2 parents 27e17ff + 5804412 commit 8dcf4c7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/rust-analyzer/src/semantic_tokens.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ macro_rules! define_semantic_token_types {
SemanticTokenType::TYPE_PARAMETER,
SemanticTokenType::TYPE,
SemanticTokenType::VARIABLE,
SemanticTokenType::DECORATOR,
$($ident),*
];
};
Expand Down

0 comments on commit 8dcf4c7

Please sign in to comment.