mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-11-14 11:27:05 +00:00
Update tests and use quote! macro
This commit is contained in:
1 parent
993710eb16
commit
05e931b9a5
63 files changed
+105
-126
No files matched your search
@@ -9,11 +9,11 @@
|
||||
#[macro_use]
|
||||
extern crate serde_derive;
|
||||
|
||||
#[derive(Deserialize)] //~ ERROR: proc-macro derive panicked
|
||||
#[derive(Deserialize)] //~ ERROR: 12:10: 12:21: variant_identifier may only contain unit variants
|
||||
#[serde(variant_identifier)]
|
||||
enum F {
|
||||
A,
|
||||
B(u8, u8), //~^^^^ HELP: variant_identifier may only contain unit variants
|
||||
B(u8, u8),
|
||||
}
|
||||
|
||||
fn main() {}
|
||||
Reference in new issue
Block a user