Fragments that keep track of type of syntax

Fixes #777.
This commit is contained in:
David Tolnay
2017-02-20 14:43:51 -08:00
parent 3d6e086d3e
commit 599a1b6607
4 changed files with 225 additions and 169 deletions
+4 -1
View File
@@ -15,8 +15,11 @@ use proc_macro::TokenStream;
#[macro_use]
mod bound;
mod de;
#[macro_use]
mod fragment;
mod ser;
mod de;
#[proc_macro_derive(Serialize, attributes(serde))]
pub fn derive_serialize(input: TokenStream) -> TokenStream {