about summary refs log tree commit diff
path: root/src/bootstrap
diff options
context:
space:
mode:
authorLukas Bergdoll <lukas.bergdoll@gmail.com>2024-06-20 18:03:42 +0200
committerLukas Bergdoll <lukas.bergdoll@gmail.com>2024-06-20 18:03:42 +0200
commit5caa7f9a4a2455e82da9bf1171937f024e9e026c (patch)
treef03d1af71598220e2fdcfdf4b53a8bb13fe503ef /src/bootstrap
parentb7deff3a0de56941b554e6a116f08c697e59ee51 (diff)
downloadrust-5caa7f9a4a2455e82da9bf1171937f024e9e026c.tar.gz
rust-5caa7f9a4a2455e82da9bf1171937f024e9e026c.zip
Improve html-checker error message
The previous message omits which of the dozens of tools called tidy is
meant. And it's written in a way that one can easily miss the *not*,
thinking it reads "Note that `tidy` is the in-tree `src/tools/tidy` but
needs to be installed". The error message should hopefully help future
contributors.
Diffstat (limited to 'src/bootstrap')
-rw-r--r--src/bootstrap/src/core/build_steps/test.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bootstrap/src/core/build_steps/test.rs b/src/bootstrap/src/core/build_steps/test.rs
index 360bd3840d4..8b65085e14e 100644
--- a/src/bootstrap/src/core/build_steps/test.rs
+++ b/src/bootstrap/src/core/build_steps/test.rs
@@ -201,7 +201,7 @@ impl Step for HtmlCheck {
         if !check_if_tidy_is_installed() {
             eprintln!("not running HTML-check tool because `tidy` is missing");
             eprintln!(
-                "Note that `tidy` is not the in-tree `src/tools/tidy` but needs to be installed"
+                "You need the HTML tidy tool https://www.html-tidy.org/, this tool is *not* part of the rust project and needs to be installed separately, for example via your package manager."
             );
             panic!("Cannot run html-check tests");
         }