mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-26 20:09:19 +00:00
dead code
This commit is contained in:
parent
1182387224
commit
7734a8b72f
1 changed files with 0 additions and 7 deletions
|
@ -217,13 +217,6 @@ pub fn crate_symbols(db: &RootDatabase, krate: Crate, query: Query) -> Vec<FileS
|
||||||
query.search(&indices)
|
query.search(&indices)
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn index_resolve(db: &RootDatabase, name: &str) -> Vec<FileSymbol> {
|
|
||||||
let mut query = Query::new(name.to_string());
|
|
||||||
query.exact();
|
|
||||||
query.limit(4);
|
|
||||||
world_symbols(db, query)
|
|
||||||
}
|
|
||||||
|
|
||||||
#[derive(Default)]
|
#[derive(Default)]
|
||||||
pub struct SymbolIndex {
|
pub struct SymbolIndex {
|
||||||
symbols: Vec<FileSymbol>,
|
symbols: Vec<FileSymbol>,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue