aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKirill Bulatov <[email protected]>2021-06-10 23:48:15 +0100
committerKirill Bulatov <[email protected]>2021-06-11 00:00:05 +0100
commitb24f816c0d8aaa37fbc0b33f90dd67afbf28adaa (patch)
tree73fd9c4f4ad40759d7592aaeb9e015a9365d5074
parentba65d259de15ef09eb648d68a3f3f78859223d51 (diff)
Fix visibility issues
-rw-r--r--crates/rust-analyzer/src/cli/load_cargo.rs10
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
15use crate::reload::{ProjectFolders, SourceRootConfig}; 15use crate::reload::{ProjectFolders, SourceRootConfig};
16 16
17pub struct LoadCargoConfig { 17pub(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
23pub fn load_workspace_at( 23pub(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,