We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 55cac26 commit d7a533cCopy full SHA for d7a533c
src/tools/compiletest/src/runtest.rs
@@ -374,11 +374,12 @@ impl<'test> TestCx<'test> {
374
375
// if a test does not crash, consider it an error
376
if proc_res.status.success() || matches!(proc_res.status.code(), Some(1 | 0)) {
377
- self.fatal(
378
- "test no longer crashes/triggers ICE! Please give it a mearningful name, \
+ self.fatal(&format!(
+ "Crashtest no longer crashes/triggers ICE, horray! Please give it a meaningful name, \
379
add a doc-comment to the start of the test explaining why it exists and \
380
- move it to tests/ui or wherever you see fit.",
381
- );
+ move it to tests/ui or wherever you see fit. Adding 'Fixes #<issueNr>' to your PR body \
+ ensures that the corresponding ticket is auto-closed upon merge."
382
+ ));
383
}
384
385
0 commit comments