]> git.lizzy.rs Git - rust.git/blobdiff - src/libsyntax/ext/deriving/cmp/ord.rs
auto merge of #13704 : edwardw/rust/doc-hidden, r=alexcrichton
[rust.git] / src / libsyntax / ext / deriving / cmp / ord.rs
index 2b2a490e5a403932f493f1ec4049cb94c20276e6..dd2f90cfa5fae9ac21880ad8a78513c6567d063d 100644 (file)
@@ -33,7 +33,9 @@ macro_rules! md (
                 ret_ty: Literal(Path::new(vec!("bool"))),
                 attributes: attrs,
                 const_nonmatching: false,
-                combine_substructure: |cx, span, substr| cs_op($op, $equal, cx, span, substr)
+                combine_substructure: combine_substructure(|cx, span, substr| {
+                    cs_op($op, $equal, cx, span, substr)
+                })
             }
         } }
     );