@@ -72,7 +72,7 @@ The following test suites are available, with links for more information:
7272| [ ` mir-opt ` ] ( #mir-opt-tests ) | Check MIR generation and optimizations |
7373| [ ` coverage ` ] ( #coverage-tests ) | Check coverage instrumentation |
7474| [ ` 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 |
7676
7777### General purpose test suite
7878
@@ -550,7 +550,7 @@ only running the main `coverage` suite.
550550[ `src/tools/coverage-dump` ] : https://github.com/rust-lang/rust/tree/master/src/tools/coverage-dump
551551[ `tests/coverage-run-rustdoc` ] : https://github.com/rust-lang/rust/tree/master/tests/coverage-run-rustdoc
552552
553- ### Crashes tests
553+ ### Crash tests
554554
555555[ ` tests/crashes ` ] serve as a collection of tests that are expected to cause the
556556compiler to ICE, panic or crash in some other way, so that accidental fixes are
@@ -573,13 +573,13 @@ recommended to include test cases from several issues in a single PR.
573573When you do so, each issue number should be noted in the file name (` 12345.rs `
574574should suffice) and also inside the file by means of a ` //@ known-bug: #12345 `
575575directive. Please [ label] [ labeling ] the relevant issues with ` S-bug-has-test `
576- afterwards .
576+ once your PR is merged .
577577
578578If you happen to fix one of the crashes, please move it to a fitting
579579subdirectory in ` tests/ui ` and give it a meaningful name. Please add a doc
580580comment at the top of the file explaining why this test exists, even better if
581581you can briefly explain how the example causes rustc to crash previously and
582- what was done to prevent rustc to ICE/ panic/ crash.
582+ what was done to prevent rustc to ICE / panic / crash.
583583
584584Adding
585585
0 commit comments