Make some stuff public so that they can be reused by other tools
This commit is contained in:
@@ -16,6 +16,7 @@ use ra_syntax::{AstNode, SourceFile};
|
||||
pub use analysis_bench::{analysis_bench, BenchWhat, Position};
|
||||
pub use analysis_stats::analysis_stats;
|
||||
pub use diagnostics::diagnostics;
|
||||
pub use load_cargo::load_cargo;
|
||||
|
||||
#[derive(Clone, Copy)]
|
||||
pub enum Verbosity {
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user