mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-03 07:04:49 +00:00
Automatically reload project info on Cargo.toml changes
This commit is contained in:
parent
5fa8f8e376
commit
d0a8f6a3eb
7 changed files with 57 additions and 28 deletions
|
@ -24,7 +24,7 @@ pub use crate::{
|
|||
};
|
||||
pub use ra_proc_macro::ProcMacroClient;
|
||||
|
||||
#[derive(Debug, Clone)]
|
||||
#[derive(Debug, Clone, Eq, PartialEq)]
|
||||
pub enum ProjectWorkspace {
|
||||
/// Project workspace was discovered by running `cargo metadata` and `rustc --print sysroot`.
|
||||
Cargo { cargo: CargoWorkspace, sysroot: Sysroot },
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue