diff options
author | Kirill Bulatov <[email protected]> | 2021-06-10 23:48:15 +0100 |
---|---|---|
committer | Kirill Bulatov <[email protected]> | 2021-06-11 00:00:05 +0100 |
commit | b24f816c0d8aaa37fbc0b33f90dd67afbf28adaa (patch) | |
tree | 73fd9c4f4ad40759d7592aaeb9e015a9365d5074 /crates | |
parent | ba65d259de15ef09eb648d68a3f3f78859223d51 (diff) |
Fix visibility issues
Diffstat (limited to 'crates')
-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, |