diff options
| author | Yuki Okushi <huyuumi.dev@gmail.com> | 2021-02-12 19:32:21 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-02-12 19:32:21 +0900 |
| commit | 095b76c755ab65807d9d252e6dd0c4cbbe92df6c (patch) | |
| tree | d15430a2478746a34d46953742b413073ab7e388 | |
| parent | 6830ea1a83e890d4218b98597137eb457cbb0ac1 (diff) | |
| parent | a35550774b1c6f2e59012213de0632ccaf72fb23 (diff) | |
| download | rust-095b76c755ab65807d9d252e6dd0c4cbbe92df6c.tar.gz rust-095b76c755ab65807d9d252e6dd0c4cbbe92df6c.zip | |
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.
| -rw-r--r-- | src/tools/expand-yaml-anchors/src/main.rs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/tools/expand-yaml-anchors/src/main.rs b/src/tools/expand-yaml-anchors/src/main.rs index f8cf18a9309..8992d165d5d 100644 --- a/src/tools/expand-yaml-anchors/src/main.rs +++ b/src/tools/expand-yaml-anchors/src/main.rs @@ -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) + ), })?; } } |
