Move some compile-fail errors based on proc-macro2 update
This commit is contained in:
parent
2aab0ce2f6
commit
5b7b8abf9f
@ -20,7 +20,7 @@ mod remote {
|
||||
#[serde(remote = "remote::S")]
|
||||
struct S {
|
||||
a: u8,
|
||||
//~^^^^ ERROR: missing field `b` in initializer of `remote::S`
|
||||
//~^^^ ERROR: missing field `b` in initializer of `remote::S`
|
||||
}
|
||||
|
||||
fn main() {}
|
||||
|
@ -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() {}
|
||||
|
Loading…
Reference in New Issue
Block a user