diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-12-21 14:00:34 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2020-12-21 14:00:34 +0000 |
commit | ab343e47c6007bd37f192ddcc4a2b5dc46ed3341 (patch) | |
tree | 40942ad355497fa78a5851a94ae363189db0b738 /crates | |
parent | 7843ae6ddbacfeab967f3a225a4b4c132bb45855 (diff) | |
parent | 328e0e2de72d248b5d16e409c92417ca4243adc5 (diff) |
Merge #6977
6977: Revert "Stop setting CompletionItem::deprecated" r=lnicola a=lnicola
We should keep setting it, according to https://github.com/rust-analyzer/rust-analyzer/pull/6974#issuecomment-748983789.
Co-authored-by: Laurențiu Nicola <[email protected]>
Diffstat (limited to 'crates')
-rw-r--r-- | crates/rust-analyzer/src/handlers.rs | 2 |
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, |