Additional errors for some reason

This commit is contained in:
David Tolnay 2017-07-09 09:22:20 -07:00
parent 9ecb0839de
commit f39b1db96a
No known key found for this signature in database
GPG Key ID: F9BA143B95FF6D82

View File

@ -18,7 +18,9 @@ mod remote {
#[derive(Serialize, Deserialize)] #[derive(Serialize, Deserialize)]
#[serde(remote = "remote::S")] #[serde(remote = "remote::S")]
struct 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() {} fn main() {}