aboutsummaryrefslogtreecommitdiff
path: root/crates
diff options
context:
space:
mode:
authorLaurenČ›iu Nicola <[email protected]>2020-12-21 13:58:26 +0000
committerLaurenČ›iu Nicola <[email protected]>2020-12-21 13:58:26 +0000
commit328e0e2de72d248b5d16e409c92417ca4243adc5 (patch)
tree40942ad355497fa78a5851a94ae363189db0b738 /crates
parent7843ae6ddbacfeab967f3a225a4b4c132bb45855 (diff)
Revert "Stop setting CompletionItem::deprecated"
This reverts commit 299ce609952dfaa6bef86e967c5632e8e42b8fca.
Diffstat (limited to 'crates')
-rw-r--r--crates/rust-analyzer/src/handlers.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/rust-analyzer/src/handlers.rs b/crates/rust-analyzer/src/handlers.rs
index 74dd766c6..66f8bee99 100644
--- a/crates/rust-analyzer/src/handlers.rs
+++ b/crates/rust-analyzer/src/handlers.rs
@@ -281,7 +281,7 @@ pub(crate) fn handle_document_symbol(
281 detail: symbol.detail, 281 detail: symbol.detail,
282 kind: to_proto::symbol_kind(symbol.kind), 282 kind: to_proto::symbol_kind(symbol.kind),
283 tags: Some(tags), 283 tags: Some(tags),
284 deprecated: None, 284 deprecated: Some(symbol.deprecated),
285 range: to_proto::range(&line_index, symbol.node_range), 285 range: to_proto::range(&line_index, symbol.node_range),
286 selection_range: to_proto::range(&line_index, symbol.navigation_range), 286 selection_range: to_proto::range(&line_index, symbol.navigation_range),
287 children: None, 287 children: None,