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 std::sync::Arc;
use ra_syntax::{SyntaxNode, SourceFileNode}; use ra_syntax::{SyntaxNode, SourceFileNode};
use ra_db::{SourceRootId, LocationIntener, SyntaxDatabase, FileId, Cancelable}; use ra_db::{SourceRootId, LocationIntener, SyntaxDatabase, Cancelable};
use crate::{ use crate::{
DefLoc, DefId, Name, MFileId, DefLoc, DefId, Name, MFileId,

View file

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

View file

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