aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2019-01-01 18:01:05 +0000
committerAleksey Kladov <[email protected]>2019-01-01 19:15:35 +0000
commitf8d419ee898053777f9b615e122bd7e31142e2fe (patch)
tree67b65adb5c2b0f2deb5ccc42e84813d8d5cfded5
parent289391e1635987d6a1ccbb9b40bce242590d461d (diff)
fix tests
-rw-r--r--crates/ra_hir/src/db.rs2
-rw-r--r--crates/ra_hir/src/mock.rs1
-rw-r--r--crates/ra_hir/src/module/nameres.rs2
3 files changed, 3 insertions, 2 deletions
diff --git a/crates/ra_hir/src/db.rs b/crates/ra_hir/src/db.rs
index 1da3fc1c1..ba0423d64 100644
--- a/crates/ra_hir/src/db.rs
+++ b/crates/ra_hir/src/db.rs
@@ -1,7 +1,7 @@
1use std::sync::Arc; 1use std::sync::Arc;
2 2
3use ra_syntax::{SyntaxNode, SourceFileNode}; 3use ra_syntax::{SyntaxNode, SourceFileNode};
4use ra_db::{SourceRootId, LocationIntener, SyntaxDatabase, FileId, Cancelable}; 4use ra_db::{SourceRootId, LocationIntener, SyntaxDatabase, Cancelable};
5 5
6use crate::{ 6use crate::{
7 DefLoc, DefId, Name, MFileId, 7 DefLoc, DefId, Name, MFileId,
diff --git a/crates/ra_hir/src/mock.rs b/crates/ra_hir/src/mock.rs
index 78f638ce4..19bc426f6 100644
--- a/crates/ra_hir/src/mock.rs
+++ b/crates/ra_hir/src/mock.rs
@@ -189,6 +189,7 @@ salsa::database_storage! {
189 fn file_lines() for ra_db::FileLinesQuery; 189 fn file_lines() for ra_db::FileLinesQuery;
190 } 190 }
191 impl db::HirDatabase { 191 impl db::HirDatabase {
192 fn m_source_file() for db::MSourceFileQuery;
192 fn expand_macro_invocation() for db::ExpandMacroCallQuery; 193 fn expand_macro_invocation() for db::ExpandMacroCallQuery;
193 fn module_tree() for db::ModuleTreeQuery; 194 fn module_tree() for db::ModuleTreeQuery;
194 fn fn_scopes() for db::FnScopesQuery; 195 fn fn_scopes() for db::FnScopesQuery;
diff --git a/crates/ra_hir/src/module/nameres.rs b/crates/ra_hir/src/module/nameres.rs
index 94ada73d7..b30dd3491 100644
--- a/crates/ra_hir/src/module/nameres.rs
+++ b/crates/ra_hir/src/module/nameres.rs
@@ -31,7 +31,7 @@ use crate::{
31 Path, PathKind, 31 Path, PathKind,
32 HirDatabase, Crate, 32 HirDatabase, Crate,
33 Name, AsName, 33 Name, AsName,
34 macros::{MacroCallId, MacroCallLoc}, 34 macros::MacroCallLoc,
35 module::{Module, ModuleId, ModuleTree}, 35 module::{Module, ModuleId, ModuleTree},
36}; 36};
37 37