mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-26 13:03:31 +00:00
Merge #177
177: Librariese -> Libraries r=matklad a=kjeremy Co-authored-by: Jeremy A. Kolb <jkolb@ara.com>
This commit is contained in:
commit
b58ca6b1a6
3 changed files with 3 additions and 3 deletions
|
@ -57,7 +57,7 @@ salsa::database_storage! {
|
|||
fn file_text() for crate::input::FileTextQuery;
|
||||
fn file_source_root() for crate::input::FileSourceRootQuery;
|
||||
fn source_root() for crate::input::SourceRootQuery;
|
||||
fn libraries() for crate::input::LibrarieseQuery;
|
||||
fn libraries() for crate::input::LibrariesQuery;
|
||||
fn library_symbols() for crate::input::LibrarySymbolsQuery;
|
||||
fn crate_graph() for crate::input::CrateGraphQuery;
|
||||
}
|
||||
|
|
|
@ -168,7 +168,7 @@ impl AnalysisHostImpl {
|
|||
.set(source_root_id, Arc::new(library.symbol_index));
|
||||
}
|
||||
self.db
|
||||
.query(crate::input::LibrarieseQuery)
|
||||
.query(crate::input::LibrariesQuery)
|
||||
.set((), Arc::new(libraries));
|
||||
}
|
||||
if let Some(crate_graph) = change.crate_graph {
|
||||
|
|
|
@ -53,7 +53,7 @@ salsa::query_group! {
|
|||
storage input;
|
||||
}
|
||||
fn libraries() -> Arc<Vec<SourceRootId>> {
|
||||
type LibrarieseQuery;
|
||||
type LibrariesQuery;
|
||||
storage input;
|
||||
}
|
||||
fn library_symbols(id: SourceRootId) -> Arc<SymbolIndex> {
|
||||
|
|
Loading…
Reference in a new issue