mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-11-24 15:19:56 +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,8 +9,7 @@
|
||||
#[macro_use]
|
||||
extern crate serde_derive;
|
||||
|
||||
#[derive(Serialize)] //~ ERROR: proc-macro derive panicked
|
||||
//~^ HELP: #[serde(flatten] can not be combined with #[serde(skip_serializing)]
|
||||
#[derive(Serialize)] //~ ERROR: 12:10: 12:19: #[serde(flatten] can not be combined with #[serde(skip_serializing)]
|
||||
struct Foo {
|
||||
#[serde(flatten, skip_serializing)]
|
||||
other: Other,
|
||||
|
||||
Reference in new issue
Block a user