Duplicate error messages have been fixed

This commit is contained in:
David Tolnay
2017-10-27 21:08:41 -04:00
parent e198afb0c1
commit aa03fd5d1a
2 changed files with 2 additions and 3 deletions
@@ -16,7 +16,7 @@ mod remote {
}
}
#[derive(Serialize, Deserialize)] //~ ERROR: missing field `b` in initializer of `remote::S`
#[derive(Serialize, Deserialize)]
#[serde(remote = "remote::S")]
struct S {
a: u8, //~^^^ ERROR: missing field `b` in initializer of `remote::S`