about summary refs log tree commit diff
path: root/src/libsyntax
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2014-12-15 15:33:11 +0000
committerbors <bors@rust-lang.org>2014-12-15 15:33:11 +0000
commit1b97cd338b5d425b24e821e815d84005e38b390a (patch)
tree28aadb0b5d2e8982efd923532534f6c65d1583fa /src/libsyntax
parentef0bc464af110d24d4663fbe51eca3646a897308 (diff)
parent1cb7e9fc638e1addbc3645f202ea89a42662812b (diff)
downloadrust-1b97cd338b5d425b24e821e815d84005e38b390a.tar.gz
rust-1b97cd338b5d425b24e821e815d84005e38b390a.zip
auto merge of #19785 : brson/rust/rollup, r=brson
Diffstat (limited to 'src/libsyntax')
-rw-r--r--src/libsyntax/ext/deriving/cmp/totalord.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libsyntax/ext/deriving/cmp/totalord.rs b/src/libsyntax/ext/deriving/cmp/totalord.rs
index a2bf46f41fc..65a4c569b44 100644
--- a/src/libsyntax/ext/deriving/cmp/totalord.rs
+++ b/src/libsyntax/ext/deriving/cmp/totalord.rs
@@ -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![