diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-06-04 14:04:24 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2020-06-04 14:04:24 +0100 |
commit | c19496f845a4adcd7e0f48f5dcb5b405bbc63dfc (patch) | |
tree | e816adebdf2ae00f96b9fc76703f454118d1c8cd /crates/ra_hir_def/src/nameres/tests | |
parent | a1ca1e75982648191834125177071f6f038ee72c (diff) | |
parent | 73480409440a04183cd7b74a166d0bf7f2c30d03 (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]>
Diffstat (limited to 'crates/ra_hir_def/src/nameres/tests')
0 files changed, 0 insertions, 0 deletions