aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Wischer <[email protected]>2021-02-12 12:46:30 +0000
committerPeter Wischer <[email protected]>2021-02-12 12:57:38 +0000
commitf18fc5a0aeb9c413ecdd99865e666d9228b31aac (patch)
tree73ad755c388d26ad064cd72f5b00e4bc4c69e460
parente0fc2af1184bed5af0a74276c261c79f685fa5d7 (diff)
fix nightly warning `legacy_derive_helpers`
see https://github.com/rust-lang/rust/issues/79202
-rw-r--r--crates/rust-analyzer/src/lsp_ext.rs2
-rw-r--r--docs/dev/lsp-extensions.md2
2 files changed, 2 insertions, 2 deletions
diff --git a/crates/rust-analyzer/src/lsp_ext.rs b/crates/rust-analyzer/src/lsp_ext.rs
index 670ca9a45..ce5a0e822 100644
--- a/crates/rust-analyzer/src/lsp_ext.rs
+++ b/crates/rust-analyzer/src/lsp_ext.rs
@@ -230,8 +230,8 @@ pub struct SsrParams {
230 230
231pub enum StatusNotification {} 231pub enum StatusNotification {}
232 232
233#[serde(rename_all = "camelCase")]
234#[derive(Serialize, Deserialize)] 233#[derive(Serialize, Deserialize)]
234#[serde(rename_all = "camelCase")]
235pub enum Status { 235pub enum Status {
236 Loading, 236 Loading,
237 ReadyPartial, 237 ReadyPartial,
diff --git a/docs/dev/lsp-extensions.md b/docs/dev/lsp-extensions.md
index b2defa737..2a966a96d 100644
--- a/docs/dev/lsp-extensions.md
+++ b/docs/dev/lsp-extensions.md
@@ -1,5 +1,5 @@
1<!--- 1<!---
2lsp_ext.rs hash: 7609fd6d7b4ab231 2lsp_ext.rs hash: 8f1ae8530f69e3a3
3 3
4If you need to change the above hash to make the test pass, please check if you 4If you need to change the above hash to make the test pass, please check if you
5need to adjust this doc as well and ping this issue: 5need to adjust this doc as well and ping this issue: