Skip to content

Commit

Permalink
Fix nightly warning legacy_derive_helpers
Browse files Browse the repository at this point in the history
Sort inert attributes after the derive.

rust-lang/rust#79202
  • Loading branch information
jonasbb committed Feb 15, 2021
1 parent c0d7b79 commit e014a02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion serde_with_test/tests/serde_as_crate_path.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ enum Option {
Err,
}

#[serde(crate = "s")]
#[serde_as(crate = "s_with")]
#[derive(Deserialize, Serialize)]
#[serde(crate = "s")]
struct Data {
#[serde_as(as = "_")]
a: u32,
Expand Down

0 comments on commit e014a02

Please sign in to comment.