File tree 1 file changed +5
-4
lines changed
src/tools/compiletest/src
1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -374,11 +374,12 @@ impl<'test> TestCx<'test> {
374
374
375
375
// if a test does not crash, consider it an error
376
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, \
377
+ self . fatal ( & format ! (
378
+ "Crashtest no longer crashes/triggers ICE, horray ! Please give it a meaningful name, \
379
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
- ) ;
380
+ move it to tests/ui or wherever you see fit. Adding 'Fixes #<issueNr>' to your PR body \
381
+ ensures that the corresponding ticket is auto-closed upon merge."
382
+ ) ) ;
382
383
}
383
384
}
384
385
You can’t perform that action at this time.
0 commit comments