We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents cc70cad + 5e5cff2 commit 782bc54Copy full SHA for 782bc54
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