compiletest: emit assembly-output header in error

This commit is contained in:
Tamir Duberstein 2023-04-26 12:49:27 -04:00
parent 8763965a2c
commit 9b2cf89513
No known key found for this signature in database

View File

@ -2332,7 +2332,7 @@ fn compile_test_and_save_assembly(&self) -> (ProcRes, PathBuf) {
// No extra flags needed.
}
Some(_) => self.fatal("unknown 'assembly-output' header"),
Some(header) => self.fatal(&format!("unknown 'assembly-output' header: {header}")),
None => self.fatal("missing 'assembly-output' header"),
}