diff options
Diffstat (limited to 'crates/rust-analyzer/src/bin/main.rs')
-rw-r--r-- | crates/rust-analyzer/src/bin/main.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/crates/rust-analyzer/src/bin/main.rs b/crates/rust-analyzer/src/bin/main.rs index fc7f8b01d..bade31ca2 100644 --- a/crates/rust-analyzer/src/bin/main.rs +++ b/crates/rust-analyzer/src/bin/main.rs | |||
@@ -6,7 +6,7 @@ mod args; | |||
6 | use std::{convert::TryFrom, process}; | 6 | use std::{convert::TryFrom, process}; |
7 | 7 | ||
8 | use lsp_server::Connection; | 8 | use lsp_server::Connection; |
9 | use ra_project_model::ProjectManifest; | 9 | use project_model::ProjectManifest; |
10 | use rust_analyzer::{ | 10 | use rust_analyzer::{ |
11 | cli, | 11 | cli, |
12 | config::{Config, LinkedProject}, | 12 | config::{Config, LinkedProject}, |
@@ -30,7 +30,7 @@ fn try_main() -> Result<()> { | |||
30 | let args = args::Args::parse()?; | 30 | let args = args::Args::parse()?; |
31 | match args.command { | 31 | match args.command { |
32 | args::Command::RunServer => run_server()?, | 32 | args::Command::RunServer => run_server()?, |
33 | args::Command::ProcMacro => ra_proc_macro_srv::cli::run()?, | 33 | args::Command::ProcMacro => proc_macro_srv::cli::run()?, |
34 | 34 | ||
35 | args::Command::Parse { no_dump } => cli::parse(no_dump)?, | 35 | args::Command::Parse { no_dump } => cli::parse(no_dump)?, |
36 | args::Command::Symbols => cli::symbols()?, | 36 | args::Command::Symbols => cli::symbols()?, |
@@ -55,7 +55,7 @@ fn try_main() -> Result<()> { | |||
55 | fn setup_logging() -> Result<()> { | 55 | fn setup_logging() -> Result<()> { |
56 | std::env::set_var("RUST_BACKTRACE", "short"); | 56 | std::env::set_var("RUST_BACKTRACE", "short"); |
57 | env_logger::try_init_from_env("RA_LOG")?; | 57 | env_logger::try_init_from_env("RA_LOG")?; |
58 | ra_prof::init(); | 58 | profile::init(); |
59 | Ok(()) | 59 | Ok(()) |
60 | } | 60 | } |
61 | 61 | ||