Move some compile-fail errors based on proc-macro2 update

This commit is contained in:
David Tolnay
2018-08-28 20:35:49 -07:00
parent 2aab0ce2f6
commit 5b7b8abf9f
2 changed files with 3 additions and 3 deletions
@@ -18,9 +18,9 @@ mod remote {
#[derive(Serialize, Deserialize)]
#[serde(remote = "remote::S")]
struct S {
//~^^^ ERROR: struct `remote::S` has no field named `b`
b: u8,
//~^^^^^ ERROR: no field `b` on type `&remote::S`
//~^ ERROR: struct `remote::S` has no field named `b`
//~^^ ERROR: no field `b` on type `&remote::S`
}
fn main() {}