Update tests and use quote! macro

This commit is contained in:
Adam Crume committed 2018-06-02 21:11:42 -07:00
1 parent 993710eb16
commit 05e931b9a5
63 files changed
+105 -126

No files matched your search

@@ -9,8 +9,8 @@
#[macro_use]
extern crate serde_derive;
#[derive(Deserialize)] //~ ERROR: proc-macro derive panicked
#[derive(Deserialize)] //~ ERROR: 12:10: 12:21: `variant_identifier` can only be used on an enum
#[serde(variant_identifier)]
struct S; //~^^ HELP: `variant_identifier` can only be used on an enum
struct S;
fn main() {}