]> git.lizzy.rs Git - rust.git/blobdiff - src/libsyntax/ext/deriving/cmp/totalord.rs
rollup merge of #19812: frewsxcv/expansion-include-enum
[rust.git] / src / libsyntax / ext / deriving / cmp / totalord.rs
index a2bf46f41fc961a146a05f0d8a14a5b76d6f7ae3..65a4c569b44b64b3cc936164303c9d81d21172b6 100644 (file)
@@ -66,6 +66,7 @@ pub fn cs_cmp(cx: &mut ExtCtxt, span: Span,
     let equals_path = cx.path_global(span,
                                      vec!(cx.ident_of("std"),
                                           cx.ident_of("cmp"),
+                                          cx.ident_of("Ordering"),
                                           cx.ident_of("Equal")));
 
     let cmp_path = vec![