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`
This commit is contained in:
David Tolnay 2020-06-03 18:01:24 -07:00
parent 1dba84019e
commit 7348040944
No known key found for this signature in database
GPG key ID: F9BA143B95FF6D82

View file

@ -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"