diff options
-rw-r--r-- | crates/rust-analyzer/src/cli/load_cargo.rs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/crates/rust-analyzer/src/cli/load_cargo.rs b/crates/rust-analyzer/src/cli/load_cargo.rs index b1c0e015d..612fa527f 100644 --- a/crates/rust-analyzer/src/cli/load_cargo.rs +++ b/crates/rust-analyzer/src/cli/load_cargo.rs | |||
@@ -14,13 +14,13 @@ use vfs::{loader::Handle, AbsPath, AbsPathBuf}; | |||
14 | 14 | ||
15 | use crate::reload::{ProjectFolders, SourceRootConfig}; | 15 | use crate::reload::{ProjectFolders, SourceRootConfig}; |
16 | 16 | ||
17 | pub struct LoadCargoConfig { | 17 | pub(crate) struct LoadCargoConfig { |
18 | pub load_out_dirs_from_check: bool, | 18 | pub(crate) load_out_dirs_from_check: bool, |
19 | pub wrap_rustc: bool, | 19 | pub(crate) wrap_rustc: bool, |
20 | pub with_proc_macro: bool, | 20 | pub(crate) with_proc_macro: bool, |
21 | } | 21 | } |
22 | 22 | ||
23 | pub fn load_workspace_at( | 23 | pub(crate) fn load_workspace_at( |
24 | root: &Path, | 24 | root: &Path, |
25 | cargo_config: &CargoConfig, | 25 | cargo_config: &CargoConfig, |
26 | load_config: &LoadCargoConfig, | 26 | load_config: &LoadCargoConfig, |