Skip to content

Commit 1d0321a

Browse files
committed
Merge pull request #19812 from frewsxcv/expansion-include-enum
Expansion should explicitly include enum Reviewed-by: alexcrichton
2 parents b0acaee + 3fc6dc9 commit 1d0321a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/libsyntax/ext/deriving/cmp/totalord.rs

+1
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ pub fn cs_cmp(cx: &mut ExtCtxt, span: Span,
6666
let equals_path = cx.path_global(span,
6767
vec!(cx.ident_of("std"),
6868
cx.ident_of("cmp"),
69+
cx.ident_of("Ordering"),
6970
cx.ident_of("Equal")));
7071

7172
let cmp_path = vec![

0 commit comments

Comments
 (0)