Structured search debugging

This commit is contained in:
David Lattimore
2020-06-30 15:55:20 +10:00
parent b1a2d01645
commit 95f8310514
8 changed files with 285 additions and 163 deletions

View File

@@ -65,6 +65,9 @@ fn main() -> Result<()> {
args::Command::Ssr { rules } => {
cli::apply_ssr_rules(rules)?;
}
args::Command::StructuredSearch { patterns, debug_snippet } => {
cli::search_for_patterns(patterns, debug_snippet)?;
}
args::Command::Version => println!("rust-analyzer {}", env!("REV")),
}
Ok(())