We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents bf5844e + 70805f9 commit 9ec4844Copy full SHA for 9ec4844
src/tools/rust-analyzer/xtask/src/release.rs
@@ -202,7 +202,10 @@ impl flags::RustcPush {
202
let head = cmd!(sh, "git rev-parse HEAD").read()?;
203
let fetch_head = cmd!(sh, "git rev-parse FETCH_HEAD").read()?;
204
if head != fetch_head {
205
- bail!("Josh created a non-roundtrip push! Do NOT merge this into rustc!");
+ bail!(
206
+ "Josh created a non-roundtrip push! Do NOT merge this into rustc!\n\
207
+ Expected {head}, got {fetch_head}."
208
+ );
209
}
210
println!("Confirmed that the push round-trips back to rust-analyzer properly. Please create a rustc PR:");
211
// https://github.com/github-linguist/linguist/compare/master...octocat:linguist:master
0 commit comments