Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'xtask/src/release.rs')
-rw-r--r--xtask/src/release.rs5
1 files changed, 4 insertions, 1 deletions
diff --git a/xtask/src/release.rs b/xtask/src/release.rs
index 3eda2bc027..1a1364c7d1 100644
--- a/xtask/src/release.rs
+++ b/xtask/src/release.rs
@@ -202,7 +202,10 @@ impl flags::RustcPush {
let head = cmd!(sh, "git rev-parse HEAD").read()?;
let fetch_head = cmd!(sh, "git rev-parse FETCH_HEAD").read()?;
if head != fetch_head {
- bail!("Josh created a non-roundtrip push! Do NOT merge this into rustc!");
+ bail!(
+ "Josh created a non-roundtrip push! Do NOT merge this into rustc!\n\
+ Expected {head}, got {fetch_head}."
+ );
}
println!("Confirmed that the push round-trips back to rust-analyzer properly. Please create a rustc PR:");
// https://github.com/github-linguist/linguist/compare/master...octocat:linguist:master