Skip to content

Commit 01d412f

Browse files
committed
Auto merge of rust-lang#12339 - matklad:dead, r=matklad
dead code
2 parents 49ffde4 + 7734a8b commit 01d412f

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

crates/ide-db/src/symbol_index.rs

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -217,13 +217,6 @@ pub fn crate_symbols(db: &RootDatabase, krate: Crate, query: Query) -> Vec<FileS
217217
query.search(&indices)
218218
}
219219

220-
pub fn index_resolve(db: &RootDatabase, name: &str) -> Vec<FileSymbol> {
221-
let mut query = Query::new(name.to_string());
222-
query.exact();
223-
query.limit(4);
224-
world_symbols(db, query)
225-
}
226-
227220
#[derive(Default)]
228221
pub struct SymbolIndex {
229222
symbols: Vec<FileSymbol>,

0 commit comments

Comments
 (0)