Skip to content

Commit ab343e4

Browse files
bors[bot]lnicola
andauthored
Merge #6977
6977: Revert "Stop setting CompletionItem::deprecated" r=lnicola a=lnicola We should keep setting it, according to #6974 (comment). Co-authored-by: Laurențiu Nicola <[email protected]>
2 parents 7843ae6 + 328e0e2 commit ab343e4

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: None,
284+
deprecated: Some(symbol.deprecated),
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)