]> git.lizzy.rs Git - rust.git/blobdiff - src/libsyntax/ext/deriving/encodable.rs
Associated types support for deriving::generic::TraitDef
[rust.git] / src / libsyntax / ext / deriving / encodable.rs
index 4c78a7b6a0cfefaf7cb6b7840cd5ac964e885e93..d0b2c2faf3719e2a3a70f921abd0fb0ee0970425 100644 (file)
@@ -155,7 +155,9 @@ fn expand_deriving_encodable_imp<F>(cx: &mut ExtCtxt,
                 combine_substructure: combine_substructure(box |a, b, c| {
                     encodable_substructure(a, b, c)
                 }),
-            })
+            }
+        ),
+        associated_types: Vec::new(),
     };
 
     trait_def.expand(cx, mitem, item, push)