From 73480409440a04183cd7b74a166d0bf7f2c30d03 Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Wed, 3 Jun 2020 18:01:24 -0700 Subject: [PATCH] Remove unneeded "./" prefix affecting error messages Before: error[E0599]: no method named `initialize_finish` found for struct `lsp_server::Connection` in the current scope --> crates/rust-analyzer/./src/bin/main.rs:99:16 | 99 | connection.initialize_finish(initialize_id, initialize_result)?; | ^^^^^^^^^^^^^^^^^ method not found in `lsp_server::Connection` After: error[E0599]: no method named `initialize_finish` found for struct `lsp_server::Connection` in the current scope --> crates/rust-analyzer/src/bin/main.rs:99:16 | 99 | connection.initialize_finish(initialize_id, initialize_result)?; | ^^^^^^^^^^^^^^^^^ method not found in `lsp_server::Connection` --- crates/rust-analyzer/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/rust-analyzer/Cargo.toml b/crates/rust-analyzer/Cargo.toml index 65b487db3b9..bf8ca9e7d5c 100644 --- a/crates/rust-analyzer/Cargo.toml +++ b/crates/rust-analyzer/Cargo.toml @@ -10,7 +10,7 @@ doctest = false [[bin]] name = "rust-analyzer" -path = "./src/bin/main.rs" +path = "src/bin/main.rs" [dependencies] anyhow = "1.0.26"