From b24f816c0d8aaa37fbc0b33f90dd67afbf28adaa Mon Sep 17 00:00:00 2001 From: Kirill Bulatov Date: Fri, 11 Jun 2021 01:48:15 +0300 Subject: Fix visibility issues --- crates/rust-analyzer/src/cli/load_cargo.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'crates') 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}; use crate::reload::{ProjectFolders, SourceRootConfig}; -pub struct LoadCargoConfig { - pub load_out_dirs_from_check: bool, - pub wrap_rustc: bool, - pub with_proc_macro: bool, +pub(crate) struct LoadCargoConfig { + pub(crate) load_out_dirs_from_check: bool, + pub(crate) wrap_rustc: bool, + pub(crate) with_proc_macro: bool, } -pub fn load_workspace_at( +pub(crate) fn load_workspace_at( root: &Path, cargo_config: &CargoConfig, load_config: &LoadCargoConfig, -- cgit v1.2.3