From f18fc5a0aeb9c413ecdd99865e666d9228b31aac Mon Sep 17 00:00:00 2001 From: Peter Wischer Date: Fri, 12 Feb 2021 13:46:30 +0100 Subject: fix nightly warning `legacy_derive_helpers` see https://github.com/rust-lang/rust/issues/79202 --- crates/rust-analyzer/src/lsp_ext.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crates') 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 { pub enum StatusNotification {} -#[serde(rename_all = "camelCase")] #[derive(Serialize, Deserialize)] +#[serde(rename_all = "camelCase")] pub enum Status { Loading, ReadyPartial, -- cgit v1.2.3