diff --git a/crates/ra_analysis/src/db.rs b/crates/ra_analysis/src/db.rs index fe6587f208..f1ace3d5a1 100644 --- a/crates/ra_analysis/src/db.rs +++ b/crates/ra_analysis/src/db.rs @@ -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; } diff --git a/crates/ra_analysis/src/imp.rs b/crates/ra_analysis/src/imp.rs index 38d4b6a232..ab795a647e 100644 --- a/crates/ra_analysis/src/imp.rs +++ b/crates/ra_analysis/src/imp.rs @@ -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 { diff --git a/crates/ra_analysis/src/input.rs b/crates/ra_analysis/src/input.rs index 98781751ae..fd63182c70 100644 --- a/crates/ra_analysis/src/input.rs +++ b/crates/ra_analysis/src/input.rs @@ -53,7 +53,7 @@ salsa::query_group! { storage input; } fn libraries() -> Arc> { - type LibrarieseQuery; + type LibrariesQuery; storage input; } fn library_symbols(id: SourceRootId) -> Arc {