mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-30 05:45:12 +00:00
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 <lnicola@dend.ro>
This commit is contained in:
commit
ab343e47c6
1 changed files with 1 additions and 1 deletions
|
@ -281,7 +281,7 @@ pub(crate) fn handle_document_symbol(
|
||||||
detail: symbol.detail,
|
detail: symbol.detail,
|
||||||
kind: to_proto::symbol_kind(symbol.kind),
|
kind: to_proto::symbol_kind(symbol.kind),
|
||||||
tags: Some(tags),
|
tags: Some(tags),
|
||||||
deprecated: None,
|
deprecated: Some(symbol.deprecated),
|
||||||
range: to_proto::range(&line_index, symbol.node_range),
|
range: to_proto::range(&line_index, symbol.node_range),
|
||||||
selection_range: to_proto::range(&line_index, symbol.navigation_range),
|
selection_range: to_proto::range(&line_index, symbol.navigation_range),
|
||||||
children: None,
|
children: None,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue