@@ -72,7 +72,7 @@ The following test suites are available, with links for more information:
72
72
| [ ` mir-opt ` ] ( #mir-opt-tests ) | Check MIR generation and optimizations |
73
73
| [ ` coverage ` ] ( #coverage-tests ) | Check coverage instrumentation |
74
74
| [ ` coverage-run-rustdoc ` ] ( #coverage-tests ) | ` coverage ` tests that also run instrumented doctests |
75
- | [ ` crashes ` ] ( #crashes -tests ) | Check that the compiler ICEs/panics/crashes on certain inputs to catch accidental fixes |
75
+ | [ ` crashes ` ] ( #crash -tests ) | Check that the compiler ICEs/panics/crashes on certain inputs to catch accidental fixes |
76
76
77
77
### General purpose test suite
78
78
@@ -557,7 +557,7 @@ only running the main `coverage` suite.
557
557
[ `src/tools/coverage-dump` ] : https://github.com/rust-lang/rust/tree/master/src/tools/coverage-dump
558
558
[ `tests/coverage-run-rustdoc` ] : https://github.com/rust-lang/rust/tree/master/tests/coverage-run-rustdoc
559
559
560
- ### Crashes tests
560
+ ### Crash tests
561
561
562
562
[ ` tests/crashes ` ] serve as a collection of tests that are expected to cause the
563
563
compiler to ICE, panic or crash in some other way, so that accidental fixes are
@@ -580,13 +580,13 @@ recommended to include test cases from several issues in a single PR.
580
580
When you do so, each issue number should be noted in the file name (` 12345.rs `
581
581
should suffice) and also inside the file by means of a ` //@ known-bug: #12345 `
582
582
directive. Please [ label] [ labeling ] the relevant issues with ` S-bug-has-test `
583
- afterwards .
583
+ once your PR is merged .
584
584
585
585
If you happen to fix one of the crashes, please move it to a fitting
586
586
subdirectory in ` tests/ui ` and give it a meaningful name. Please add a doc
587
587
comment at the top of the file explaining why this test exists, even better if
588
588
you can briefly explain how the example causes rustc to crash previously and
589
- what was done to prevent rustc to ICE/ panic/ crash.
589
+ what was done to prevent rustc to ICE / panic / crash.
590
590
591
591
Adding
592
592
0 commit comments