diff --git a/test_suite/tests/compile-fail/remote/unknown_field.rs b/test_suite/tests/compile-fail/remote/unknown_field.rs index d1f2206c..628d31af 100644 --- a/test_suite/tests/compile-fail/remote/unknown_field.rs +++ b/test_suite/tests/compile-fail/remote/unknown_field.rs @@ -18,7 +18,9 @@ mod remote { #[derive(Serialize, Deserialize)] #[serde(remote = "remote::S")] struct S { - b: u8, //~^^^ ERROR: no field `b` on type `&remote::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` } fn main() {}