diff options
Diffstat (limited to 'crates/rust-analyzer/src/bin/main.rs')
-rw-r--r-- | crates/rust-analyzer/src/bin/main.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/crates/rust-analyzer/src/bin/main.rs b/crates/rust-analyzer/src/bin/main.rs index 0f55c3ee2..eec76d415 100644 --- a/crates/rust-analyzer/src/bin/main.rs +++ b/crates/rust-analyzer/src/bin/main.rs | |||
@@ -65,6 +65,9 @@ fn main() -> Result<()> { | |||
65 | args::Command::Ssr { rules } => { | 65 | args::Command::Ssr { rules } => { |
66 | cli::apply_ssr_rules(rules)?; | 66 | cli::apply_ssr_rules(rules)?; |
67 | } | 67 | } |
68 | args::Command::StructuredSearch { patterns, debug_snippet } => { | ||
69 | cli::search_for_patterns(patterns, debug_snippet)?; | ||
70 | } | ||
68 | args::Command::Version => println!("rust-analyzer {}", env!("REV")), | 71 | args::Command::Version => println!("rust-analyzer {}", env!("REV")), |
69 | } | 72 | } |
70 | Ok(()) | 73 | Ok(()) |