Skip to content

Commit 7843ae6

Browse files
bors[bot]lnicola
andauthored
Merge #6974
6974: Stop setting CompletionItem::deprecated r=matklad a=lnicola Closes #2042 We're now using the `CompletionItem::tags` field to mark `CompletionItem`s as deprecated, and `CompletionItem::deprecated` is gone from LSP. Co-authored-by: Laurențiu Nicola <[email protected]>
2 parents 9bb9fba + 299ce60 commit 7843ae6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/rust-analyzer/src/handlers.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ pub(crate) fn handle_document_symbol(
281281
detail: symbol.detail,
282282
kind: to_proto::symbol_kind(symbol.kind),
283283
tags: Some(tags),
284-
deprecated: Some(symbol.deprecated),
284+
deprecated: None,
285285
range: to_proto::range(&line_index, symbol.node_range),
286286
selection_range: to_proto::range(&line_index, symbol.navigation_range),
287287
children: None,

0 commit comments

Comments
 (0)