We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 769e900 + 9117546 commit 9de5630Copy full SHA for 9de5630
src/tools/miri/miri-script/src/commands.rs
@@ -355,7 +355,10 @@ impl Command {
355
let head = cmd!(sh, "git rev-parse HEAD").read()?;
356
let fetch_head = cmd!(sh, "git rev-parse FETCH_HEAD").read()?;
357
if head != fetch_head {
358
- bail!("Josh created a non-roundtrip push! Do NOT merge this into rustc!");
+ bail!(
359
+ "Josh created a non-roundtrip push! Do NOT merge this into rustc!\n\
360
+ Expected {head}, got {fetch_head}."
361
+ );
362
}
363
println!(
364
"Confirmed that the push round-trips back to Miri properly. Please create a rustc PR:"
0 commit comments