mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-03 15:15:24 +00:00
Inline ra_batch
This commit is contained in:
parent
559c5f37f6
commit
d7be1da8df
8 changed files with 24 additions and 50 deletions
|
@ -1,5 +1,6 @@
|
|||
//! FIXME: write short doc here
|
||||
|
||||
mod load_cargo;
|
||||
mod analysis_stats;
|
||||
mod analysis_bench;
|
||||
mod progress_report;
|
||||
|
@ -157,12 +158,10 @@ ARGS:
|
|||
let path = {
|
||||
let mut trailing = matches.free()?;
|
||||
if trailing.len() != 1 {
|
||||
eprintln!("{}", help::ANALYSIS_STATS_HELP);
|
||||
Err("Invalid flags")?;
|
||||
}
|
||||
trailing.pop().unwrap()
|
||||
};
|
||||
matches.finish().or_else(handle_extra_flags)?;
|
||||
|
||||
analysis_stats::run(
|
||||
verbosity,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue