mirror of
https://github.com/rust-lang/rust-analyzer
synced 2025-01-13 13:48:50 +00:00
Merge #10130
10130: fix error message for when DidChangeTextDocument path doesn't exist r=matklad a=alidn Fixes #10129 Co-authored-by: Ali <59405723+alidn@users.noreply.github.com>
This commit is contained in:
commit
7234f943aa
1 changed files with 1 additions and 1 deletions
|
@ -660,7 +660,7 @@ impl GlobalState {
|
|||
doc.version = params.text_document.version;
|
||||
}
|
||||
None => {
|
||||
tracing::error!("expected DidChangeTextDocument: {}", path);
|
||||
tracing::error!("unexpected DidChangeTextDocument: {}; send DidOpenTextDocument first", path);
|
||||
return Ok(());
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue