mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 14:21:44 +00:00
use LocalPtr in navigation target
This commit is contained in:
parent
267a89bca2
commit
03ea6bcbff
4 changed files with 13 additions and 7 deletions
|
@ -190,7 +190,7 @@ pub fn handle_workspace_symbol(
|
|||
let mut res = Vec::new();
|
||||
for nav in world.analysis().symbol_search(query)? {
|
||||
let info = SymbolInformation {
|
||||
name: nav.name().into(),
|
||||
name: nav.name().to_string(),
|
||||
kind: nav.kind().conv(),
|
||||
location: nav.try_conv_with(world)?,
|
||||
container_name: None,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue