mirror of
https://github.com/rust-lang/rust.git
synced 2025-06-04 19:29:07 +00:00
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.
This commit is contained in:
parent
b7deff3a0d
commit
5caa7f9a4a
@ -201,7 +201,7 @@ impl Step for HtmlCheck {
|
|||||||
if !check_if_tidy_is_installed() {
|
if !check_if_tidy_is_installed() {
|
||||||
eprintln!("not running HTML-check tool because `tidy` is missing");
|
eprintln!("not running HTML-check tool because `tidy` is missing");
|
||||||
eprintln!(
|
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");
|
panic!("Cannot run html-check tests");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user