about summary refs log tree commit diff
path: root/src/bootstrap/tool.rs
diff options
context:
space:
mode:
authorEric Huss <eric@huss.org>2020-07-01 15:51:35 -0700
committerEric Huss <eric@huss.org>2020-07-01 15:51:35 -0700
commit0b9bc79738d3a0bc9672b29196d478e9e7f177cd (patch)
treefc68d0cfd21041ccfe2162780c1ca8012ac7cb64 /src/bootstrap/tool.rs
parent915486364759689dce6932d67599d5ea234cd91a (diff)
downloadrust-0b9bc79738d3a0bc9672b29196d478e9e7f177cd.tar.gz
rust-0b9bc79738d3a0bc9672b29196d478e9e7f177cd.zip
Tests for number of times rustdoc is built with x.py test and doc.
Diffstat (limited to 'src/bootstrap/tool.rs')
-rw-r--r--src/bootstrap/tool.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bootstrap/tool.rs b/src/bootstrap/tool.rs
index b3fa3b49855..45f5073f431 100644
--- a/src/bootstrap/tool.rs
+++ b/src/bootstrap/tool.rs
@@ -366,7 +366,7 @@ bootstrap_tool!(
     ExpandYamlAnchors, "src/tools/expand-yaml-anchors", "expand-yaml-anchors";
 );
 
-#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq, Ord, PartialOrd)]
 pub struct ErrorIndex {
     pub compiler: Compiler,
 }
@@ -449,7 +449,7 @@ impl Step for RemoteTestServer {
     }
 }
 
-#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq, Ord, PartialOrd)]
 pub struct Rustdoc {
     /// This should only ever be 0 or 2.
     /// We sometimes want to reference the "bootstrap" rustdoc, which is why this option is here.