mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-04-24 19:18:00 +00:00
Format the compile-test sources with rustfmt 0.8.2
This commit is contained in:
@@ -11,8 +11,8 @@ extern crate serde_derive;
|
||||
|
||||
#[derive(Serialize)]
|
||||
struct S {
|
||||
#[serde(rename(serialize="x"))]
|
||||
#[serde(rename(serialize="y"))]
|
||||
#[serde(rename(serialize = "x"))]
|
||||
#[serde(rename(serialize = "y"))]
|
||||
//~^^^^ ERROR: duplicate serde attribute `rename`
|
||||
x: (),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user