about summary refs log tree commit diff
path: root/src/libsyntax/ext/deriving/rand.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/libsyntax/ext/deriving/rand.rs')
-rw-r--r--src/libsyntax/ext/deriving/rand.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/ext/deriving/rand.rs b/src/libsyntax/ext/deriving/rand.rs
index 09c3abf42b8..23877dd29ea 100644
--- a/src/libsyntax/ext/deriving/rand.rs
+++ b/src/libsyntax/ext/deriving/rand.rs
@@ -41,7 +41,7 @@ pub fn expand_deriving_rand(cx: &mut ExtCtxt,
                         Borrowed(None, ast::MutMutable))
                 ),
                 ret_ty: Self,
-                inline: false,
+                attributes: Vec::new(),
                 const_nonmatching: false,
                 combine_substructure: combine_substructure(|a, b, c| {
                     rand_substructure(a, b, c)