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
@@ -19,8 +19,7 @@ mod remote {
#[serde(remote = "remote::S")]
struct S {
//~^^^ ERROR: struct `remote::S` has no field named `b`
//~^^^^ ERROR: struct `remote::S` has no field named `b`
b: u8, //~^^^^^ ERROR: no field `b` on type `&remote::S`
b: u8, //~^^^^ ERROR: no field `b` on type `&remote::S`
}
fn main() {}