]> git.lizzy.rs Git - rust.git/blobdiff - src/libsyntax/ext/deriving/rand.rs
Associated types support for deriving::generic::TraitDef
[rust.git] / src / libsyntax / ext / deriving / rand.rs
index bb902d7059c87b8aeacd4bd5eaa76e51f37b48b1..9fd5091e194dcee568d8ee9a585f5e19138baaca 100644 (file)
@@ -49,7 +49,8 @@ pub fn expand_deriving_rand<F>(cx: &mut ExtCtxt,
                     rand_substructure(a, b, c)
                 })
             }
-        )
+        ),
+        associated_types: Vec::new(),
     };
     trait_def.expand(cx, mitem, item, push)
 }