diff options
author | Peter Wischer <[email protected]> | 2021-02-12 12:46:30 +0000 |
---|---|---|
committer | Peter Wischer <[email protected]> | 2021-02-12 12:57:38 +0000 |
commit | f18fc5a0aeb9c413ecdd99865e666d9228b31aac (patch) | |
tree | 73ad755c388d26ad064cd72f5b00e4bc4c69e460 | |
parent | e0fc2af1184bed5af0a74276c261c79f685fa5d7 (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.rs | 2 | ||||
-rw-r--r-- | docs/dev/lsp-extensions.md | 2 |
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 | ||
231 | pub enum StatusNotification {} | 231 | pub enum StatusNotification {} |
232 | 232 | ||
233 | #[serde(rename_all = "camelCase")] | ||
234 | #[derive(Serialize, Deserialize)] | 233 | #[derive(Serialize, Deserialize)] |
234 | #[serde(rename_all = "camelCase")] | ||
235 | pub enum Status { | 235 | pub 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 | <!--- |
2 | lsp_ext.rs hash: 7609fd6d7b4ab231 | 2 | lsp_ext.rs hash: 8f1ae8530f69e3a3 |
3 | 3 | ||
4 | If you need to change the above hash to make the test pass, please check if you | 4 | If you need to change the above hash to make the test pass, please check if you |
5 | need to adjust this doc as well and ping this issue: | 5 | need to adjust this doc as well and ping this issue: |