Update tests to new location of errors

This commit is contained in:
David Tolnay
2016-09-27 00:17:00 -07:00
parent 0c18c151e2
commit 40b874214a
3 changed files with 17 additions and 17 deletions
@@ -3,27 +3,27 @@
extern crate serde;
#[derive(Serialize)]
#[serde(abc="xyz")] //~ unknown serde container attribute `abc = "xyz"`
#[derive(Serialize)] //~ unknown serde container attribute `abc`
#[serde(abc="xyz")]
struct Foo {
x: u32,
}
#[derive(Deserialize)]
#[serde(abc="xyz")] //~ unknown serde container attribute `abc = "xyz"`
#[derive(Deserialize)] //~ unknown serde container attribute `abc`
#[serde(abc="xyz")]
struct Foo {
x: u32,
}
#[derive(Serialize)]
#[derive(Serialize)] //~ unknown serde field attribute `abc`
struct Foo {
#[serde(abc="xyz")] //~ unknown serde field attribute `abc = "xyz"`
#[serde(abc="xyz")]
x: u32,
}
#[derive(Deserialize)]
#[derive(Deserialize)] //~ unknown serde field attribute `abc`
struct Foo {
#[serde(abc="xyz")] //~ unknown serde field attribute `abc = "xyz"`
#[serde(abc="xyz")]
x: u32,
}