Skip to content

Commit

Permalink
compiletest: emit assembly-output header in error
Browse files Browse the repository at this point in the history
  • Loading branch information
tamird committed Apr 26, 2023
1 parent 8763965 commit 9b2cf89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tools/compiletest/src/runtest.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2332,7 +2332,7 @@ impl<'test> TestCx<'test> {
// 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"),
}

Expand Down

0 comments on commit 9b2cf89

Please sign in to comment.