mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-03 07:04:49 +00:00
Split out project loading capabilities from rust-analyzer crate
This commit is contained in:
parent
82ef6991d7
commit
28fcd1bdd7
16 changed files with 518 additions and 504 deletions
|
@ -9,6 +9,7 @@ use crossbeam_channel::{unbounded, Receiver, Sender};
|
|||
use flycheck::FlycheckHandle;
|
||||
use ide::{Analysis, AnalysisHost, Cancellable, Change, FileId};
|
||||
use ide_db::base_db::{CrateId, FileLoader, ProcMacroPaths, SourceDatabase};
|
||||
use load_cargo::SourceRootConfig;
|
||||
use lsp_types::{SemanticTokens, Url};
|
||||
use nohash_hasher::IntMap;
|
||||
use parking_lot::{Mutex, RwLock};
|
||||
|
@ -27,7 +28,7 @@ use crate::{
|
|||
main_loop::Task,
|
||||
mem_docs::MemDocs,
|
||||
op_queue::OpQueue,
|
||||
reload::{self, SourceRootConfig},
|
||||
reload,
|
||||
task_pool::TaskPool,
|
||||
to_proto::url_from_abs_path,
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue