aboutsummaryrefslogtreecommitdiff
path: root/crates/rust-analyzer/src/semantic_tokens.rs
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2021-03-30 21:27:28 +0100
committerGitHub <[email protected]>2021-03-30 21:27:28 +0100
commit2436621b6c5e636fa112cd5abfdd03511c9561e0 (patch)
treeb3a1210a9981af1fbb814d0ccd217148cf544784 /crates/rust-analyzer/src/semantic_tokens.rs
parentfd7c454d516e3af90d8c0d0d8a22655345fec2d7 (diff)
parent518c9c75481d4dcf6b1e7768fb48990dc74b7bf5 (diff)
Merge #8240
8240: 8024: Added the trait modifier for methods r=Veykril a=chetankhilosiya method in impls and method calls will have trait modifier. Trait modifier for constants is remaining. Co-authored-by: Chetan Khilosiya <[email protected]>
Diffstat (limited to 'crates/rust-analyzer/src/semantic_tokens.rs')
-rw-r--r--crates/rust-analyzer/src/semantic_tokens.rs1
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 a3c5e9ccf..2dc8a42f1 100644
--- a/crates/rust-analyzer/src/semantic_tokens.rs
+++ b/crates/rust-analyzer/src/semantic_tokens.rs
@@ -88,6 +88,7 @@ define_semantic_token_modifiers![
88 (CONSUMING, "consuming"), 88 (CONSUMING, "consuming"),
89 (UNSAFE, "unsafe"), 89 (UNSAFE, "unsafe"),
90 (ATTRIBUTE_MODIFIER, "attribute"), 90 (ATTRIBUTE_MODIFIER, "attribute"),
91 (TRAIT_MODIFIER, "trait"),
91 (CALLABLE, "callable"), 92 (CALLABLE, "callable"),
92 (INTRA_DOC_LINK, "intraDocLink"), 93 (INTRA_DOC_LINK, "intraDocLink"),
93]; 94];