Format the compile-test sources with rustfmt 0.8.2

This commit is contained in:
David Tolnay
2018-06-02 22:30:55 -07:00
parent a4acc83282
commit 0a71fe329c
28 changed files with 38 additions and 36 deletions
@@ -10,10 +10,10 @@
extern crate serde_derive;
#[derive(Serialize)]
#[serde(abc="xyz")]
#[serde(abc = "xyz")]
//~^^ ERROR: unknown serde container attribute `abc`
struct A {
x: u32,
}
fn main() { }
fn main() {}
@@ -11,9 +11,9 @@ extern crate serde_derive;
#[derive(Serialize)]
struct C {
#[serde(abc="xyz")]
#[serde(abc = "xyz")]
//~^^^ ERROR: unknown serde field attribute `abc`
x: u32,
}
fn main() { }
fn main() {}
@@ -11,9 +11,9 @@ extern crate serde_derive;
#[derive(Serialize)]
enum E {
#[serde(abc="xyz")]
#[serde(abc = "xyz")]
//~^^^ ERROR: unknown serde variant attribute `abc`
V,
}
fn main() { }
fn main() {}