mirror of
https://github.com/rust-lang/rust-analyzer
synced 2025-01-13 13:48:50 +00:00
fix error message for when DidChangeTextDocument path doesn't exist
This commit is contained in:
parent
796bfccac4
commit
1fd153a24e
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