mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-04-23 10:38:02 +00:00
Update tests and use quote! macro
This commit is contained in:
@@ -9,10 +9,10 @@
|
||||
#[macro_use]
|
||||
extern crate serde_derive;
|
||||
|
||||
#[derive(Deserialize)] //~ ERROR: proc-macro derive panicked
|
||||
#[derive(Deserialize)] //~ ERROR: 12:10: 12:21: #[serde(other)] may only be used inside a field_identifier
|
||||
enum F {
|
||||
A,
|
||||
#[serde(other)] //~^^^ HELP: #[serde(other)] may only be used inside a field_identifier
|
||||
#[serde(other)]
|
||||
B,
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user