aboutsummaryrefslogtreecommitdiff
path: root/crates/rust-analyzer/src/bin/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/rust-analyzer/src/bin/main.rs')
-rw-r--r--crates/rust-analyzer/src/bin/main.rs9
1 files changed, 0 insertions, 9 deletions
diff --git a/crates/rust-analyzer/src/bin/main.rs b/crates/rust-analyzer/src/bin/main.rs
index 1789d6a73..088b17b03 100644
--- a/crates/rust-analyzer/src/bin/main.rs
+++ b/crates/rust-analyzer/src/bin/main.rs
@@ -86,15 +86,6 @@ fn setup_logging(log_file: Option<PathBuf>, no_buffering: bool) -> Result<()> {
86 86
87 profile::init(); 87 profile::init();
88 88
89 if !cfg!(debug_assertions) {
90 stdx::set_assert_hook(|loc, args| {
91 if env::var("RA_PROFILE").is_ok() {
92 panic!("assertion failed at {}: {}", loc, args)
93 }
94 log::error!("assertion failed at {}: {}", loc, args)
95 });
96 }
97
98 Ok(()) 89 Ok(())
99} 90}
100 91