Make some stuff public so that they can be reused by other tools

This commit is contained in:
Pavan Kumar Sunkara
2020-04-24 21:57:10 +02:00
parent 530a35f3f9
commit 9f0a7eb97b
6 changed files with 7 additions and 10 deletions

View File

@@ -22,7 +22,7 @@ fn vfs_root_to_id(r: ra_vfs::VfsRoot) -> SourceRootId {
SourceRootId(r.0)
}
pub(crate) fn load_cargo(
pub fn load_cargo(
root: &Path,
load_out_dirs_from_check: bool,
with_proc_macro: bool,