Skip to content

Commit

Permalink
Merge #7648
Browse files Browse the repository at this point in the history
7648: fix nightly warning `legacy_derive_helpers` r=jonas-schievink a=peddermaster2

With a recent nightly (e.g. 2021-02-10) a warning comes up. This PR reorders the attributes to fix the warning.

See rust-lang/rust#79202

Co-authored-by: Peter Wischer <[email protected]>
  • Loading branch information
bors[bot] and PeterW-LWL authored Feb 12, 2021
2 parents e0fc2af + 23bf030 commit ace7bb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/rust-analyzer/src/lsp_ext.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit ace7bb6

Please sign in to comment.