fix tests

This commit is contained in:
Aleksey Kladov 2019-01-01 21:01:05 +03:00
parent 289391e163
commit f8d419ee89
3 changed files with 3 additions and 2 deletions

View File

@ -1,7 +1,7 @@
use std::sync::Arc;
use ra_syntax::{SyntaxNode, SourceFileNode};
use ra_db::{SourceRootId, LocationIntener, SyntaxDatabase, FileId, Cancelable};
use ra_db::{SourceRootId, LocationIntener, SyntaxDatabase, Cancelable};
use crate::{
DefLoc, DefId, Name, MFileId,

View File

@ -189,6 +189,7 @@ salsa::database_storage! {
fn file_lines() for ra_db::FileLinesQuery;
}
impl db::HirDatabase {
fn m_source_file() for db::MSourceFileQuery;
fn expand_macro_invocation() for db::ExpandMacroCallQuery;
fn module_tree() for db::ModuleTreeQuery;
fn fn_scopes() for db::FnScopesQuery;

View File

@ -31,7 +31,7 @@ use crate::{
Path, PathKind,
HirDatabase, Crate,
Name, AsName,
macros::{MacroCallId, MacroCallLoc},
macros::MacroCallLoc,
module::{Module, ModuleId, ModuleTree},
};