From b6ce7a6d344fa673addcd299cbb19b050625e04d Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Wed, 19 Dec 2018 10:26:24 +0300 Subject: make it compile --- crates/ra_db/src/input.rs | 2 +- crates/ra_db/src/lib.rs | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'crates/ra_db') diff --git a/crates/ra_db/src/input.rs b/crates/ra_db/src/input.rs index 9edaf36cf..65b674da9 100644 --- a/crates/ra_db/src/input.rs +++ b/crates/ra_db/src/input.rs @@ -98,7 +98,7 @@ salsa::query_group! { storage input; } fn source_root_file_by_path(id: SourceRootId, path: RelativePathBuf) -> Option { - type SourceRootFilesByPathQuery; + type SourceRootFileByPathQuery; storage input; } fn source_root(id: SourceRootId) -> Arc { diff --git a/crates/ra_db/src/lib.rs b/crates/ra_db/src/lib.rs index 53805aada..783b7a799 100644 --- a/crates/ra_db/src/lib.rs +++ b/crates/ra_db/src/lib.rs @@ -28,6 +28,7 @@ pub use crate::{ input::{ FilesDatabase, FileId, CrateId, SourceRoot, SourceRootId, CrateGraph, WORKSPACE, FileTextQuery, FileSourceRootQuery, SourceRootQuery, LibrariesQuery, CrateGraphQuery, + FileRelativePathQuery, SourceRootFilesQuery, SourceRootFileByPathQuery, }, loc2id::{LocationIntener, NumericId}, }; -- cgit v1.2.3