mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 14:21:44 +00:00
Fill deprecation for LSP
This commit is contained in:
parent
569e1e871e
commit
852b083794
6 changed files with 86 additions and 23 deletions
|
@ -140,7 +140,7 @@ pub fn handle_document_symbol(
|
|||
name: symbol.label,
|
||||
detail: symbol.detail,
|
||||
kind: symbol.kind.conv(),
|
||||
deprecated: None,
|
||||
deprecated: Some(symbol.deprecated),
|
||||
range: symbol.node_range.conv_with(&line_index),
|
||||
selection_range: symbol.navigation_range.conv_with(&line_index),
|
||||
children: None,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue