aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2020-06-04 14:04:24 +0100
committerGitHub <[email protected]>2020-06-04 14:04:24 +0100
commitc19496f845a4adcd7e0f48f5dcb5b405bbc63dfc (patch)
treee816adebdf2ae00f96b9fc76703f454118d1c8cd
parenta1ca1e75982648191834125177071f6f038ee72c (diff)
parent73480409440a04183cd7b74a166d0bf7f2c30d03 (diff)
Merge #4740
4740: Remove unneeded "./" prefix affecting error messages r=kjeremy a=dtolnay I noticed this in the error in the commit message of https://github.com/rust-analyzer/rust-analyzer/pull/4739. Before: ```console 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: ```console 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` ``` ```diff - --> crates/rust-analyzer/./src/bin/main.rs:99:16 + --> crates/rust-analyzer/src/bin/main.rs:99:16 ``` Co-authored-by: David Tolnay <[email protected]>
-rw-r--r--crates/rust-analyzer/Cargo.toml2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/rust-analyzer/Cargo.toml b/crates/rust-analyzer/Cargo.toml
index a010125b7..458089e53 100644
--- a/crates/rust-analyzer/Cargo.toml
+++ b/crates/rust-analyzer/Cargo.toml
@@ -10,7 +10,7 @@ doctest = false
10 10
11[[bin]] 11[[bin]]
12name = "rust-analyzer" 12name = "rust-analyzer"
13path = "./src/bin/main.rs" 13path = "src/bin/main.rs"
14 14
15[dependencies] 15[dependencies]
16anyhow = "1.0.26" 16anyhow = "1.0.26"