mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 06:11:35 +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,7 +1,7 @@
|
|||
//! Completes mod declarations.
|
||||
|
||||
use base_db::{SourceDatabaseExt, VfsPath};
|
||||
use hir::{Module, ModuleSource};
|
||||
use ide_db::base_db::{SourceDatabaseExt, VfsPath};
|
||||
use ide_db::RootDatabase;
|
||||
use rustc_hash::FxHashSet;
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
//! See `CompletionContext` structure.
|
||||
|
||||
use base_db::{FilePosition, SourceDatabase};
|
||||
use hir::{Local, ScopeDef, Semantics, SemanticsScope, Type};
|
||||
use ide_db::base_db::{FilePosition, SourceDatabase};
|
||||
use ide_db::{call_info::ActiveParameter, RootDatabase};
|
||||
use syntax::{
|
||||
algo::{find_covering_element, find_node_at_offset},
|
||||
|
|
|
@ -23,7 +23,7 @@ mod complete_macro_in_item_position;
|
|||
mod complete_trait_impl;
|
||||
mod complete_mod;
|
||||
|
||||
use base_db::FilePosition;
|
||||
use ide_db::base_db::FilePosition;
|
||||
use ide_db::RootDatabase;
|
||||
|
||||
use crate::{
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
//! Runs completion for testing purposes.
|
||||
|
||||
use base_db::{fixture::ChangeFixture, FileLoader, FilePosition};
|
||||
use hir::Semantics;
|
||||
use ide_db::base_db::{fixture::ChangeFixture, FileLoader, FilePosition};
|
||||
use ide_db::RootDatabase;
|
||||
use itertools::Itertools;
|
||||
use stdx::{format_to, trim_indent};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue