mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-18 01:44:04 +00:00
fix tests
This commit is contained in:
parent
289391e163
commit
f8d419ee89
@ -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,
|
||||
|
@ -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;
|
||||
|
@ -31,7 +31,7 @@ use crate::{
|
||||
Path, PathKind,
|
||||
HirDatabase, Crate,
|
||||
Name, AsName,
|
||||
macros::{MacroCallId, MacroCallLoc},
|
||||
macros::MacroCallLoc,
|
||||
module::{Module, ModuleId, ModuleTree},
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user