mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-04-24 09:57:59 +00:00
Compiletest error messages
This commit is contained in:
@@ -5,7 +5,7 @@ extern crate serde_derive;
|
||||
|
||||
#[derive(Serialize)] //~ ERROR: custom derive attribute panicked
|
||||
struct S {
|
||||
#[serde(rename="x", serialize="y")] // ERROR: unknown serde field attribute `serialize`
|
||||
#[serde(rename="x", serialize="y")] //~^^ HELP: unknown serde field attribute `serialize`
|
||||
x: (),
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user