diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2021-04-07 13:37:10 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2021-04-07 13:37:10 +0100 |
commit | 8e900cb4a1c5a4faef801518272d56a5683dd488 (patch) | |
tree | c16e6b7780804c8bd50131731162c6eeeaf99338 /crates/hir_def/src/builtin_type.rs | |
parent | 45510ae23da9090027a80c4ff88dc8e7d9f29dbb (diff) | |
parent | dbd760010e3ca7c0ba239b0ae88a5729b93ae7d8 (diff) |
Merge #8397
8397: Return proper error code when server is loading r=matklad a=ceronman
When requests are made to rust-analyzer and the server is still loading, a response error is returned with the code `ContentModified` and text `"Rust Analyzer is still loading..."`. This error code doesn't seem to be the more appropriate for this situation. Using `ServerNotInitialized` seems better.
As this is such a small change, I have not created an issue for it.
Co-authored-by: Manuel Ceron <[email protected]>
Diffstat (limited to 'crates/hir_def/src/builtin_type.rs')
0 files changed, 0 insertions, 0 deletions