mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-02 06:41:48 +00:00
Re-export base_db from ide_db
This commit is contained in:
parent
2c787676c9
commit
19cce08662
52 changed files with 69 additions and 74 deletions
|
@ -1,10 +1,10 @@
|
|||
use std::{fmt, iter::FromIterator, sync::Arc};
|
||||
|
||||
use base_db::{
|
||||
use hir::MacroFile;
|
||||
use ide_db::base_db::{
|
||||
salsa::debug::{DebugQueryTable, TableEntry},
|
||||
CrateId, FileId, FileTextQuery, SourceDatabase, SourceRootId,
|
||||
};
|
||||
use hir::MacroFile;
|
||||
use ide_db::{
|
||||
symbol_index::{LibrarySymbolsQuery, SymbolIndex},
|
||||
RootDatabase,
|
||||
|
@ -16,7 +16,7 @@ use stdx::format_to;
|
|||
use syntax::{ast, Parse, SyntaxNode};
|
||||
|
||||
fn syntax_tree_stats(db: &RootDatabase) -> SyntaxTreeStats {
|
||||
base_db::ParseQuery.in_db(db).entries::<SyntaxTreeStats>()
|
||||
ide_db::base_db::ParseQuery.in_db(db).entries::<SyntaxTreeStats>()
|
||||
}
|
||||
fn macro_syntax_tree_stats(db: &RootDatabase) -> SyntaxTreeStats {
|
||||
hir::db::ParseMacroQuery.in_db(db).entries::<SyntaxTreeStats>()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue