Skip to content

Commit 7234f94

Browse files
bors[bot]alidn
andauthored
Merge #10130
10130: fix error message for when DidChangeTextDocument path doesn't exist r=matklad a=alidn Fixes #10129 Co-authored-by: Ali <[email protected]>
2 parents ac25201 + 1fd153a commit 7234f94

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/rust-analyzer/src/main_loop.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -660,7 +660,7 @@ impl GlobalState {
660660
doc.version = params.text_document.version;
661661
}
662662
None => {
663-
tracing::error!("expected DidChangeTextDocument: {}", path);
663+
tracing::error!("unexpected DidChangeTextDocument: {}; send DidOpenTextDocument first", path);
664664
return Ok(());
665665
}
666666
};

0 commit comments

Comments
 (0)