Rollup merge of #82013 - Mark-Simulacrum:better-ci-error, r=jyn514

Tell user how to fix CI file being not up to date

This hopefully should avoid future questions like in https://github.com/rust-lang/rust/pull/79979#issuecomment-776241356.
This commit is contained in:
Yuki Okushi 2021-02-12 19:32:21 +09:00 committed by GitHub
commit 095b76c755
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -76,7 +76,11 @@ impl App {
self.path(&path),
self.path(&dest_path)
),
Mode::Check => format!("{} is not up to date", self.path(&dest_path)),
Mode::Check => format!(
"{} is not up to date; please run \
`x.py run src/tools/expand-yaml-anchors`.",
self.path(&dest_path)
),
})?;
}
}