File tree Expand file tree Collapse file tree 1 file changed +1
-25
lines changed
Expand file tree Collapse file tree 1 file changed +1
-25
lines changed Original file line number Diff line number Diff line change 1- This is serves as a collection of crashes so that accidental ICE fixes are tracked.
2- This was formally done at https://github.com/rust-lang/glacier but doing it inside
3- the rustc testsuite is more convenient.
4-
5- It is imperative that a test in the suite causes an internal compiler error/panic
6- or makes rustc crash in some other way.
7- A test will "pass" if rustc exits with something other than 1 or 0.
8-
9- When adding crashes from https://github.com/rust-lang/rust/issues , the
10- issue number should be noted in the file name (12345.rs should suffice)
11- and also inside the file via ` //@ known-bug #4321 ` if possible.
12-
13- If you happen to fix one of the crashes, please move it to a fitting
14- subdirectory in ` tests/ui ` and give it a meaningful name.
15- Also please add a doc comment at the top of the file explaining why
16- this test exists. :)
17- Adding
18- Fixes #NNNNN
19- Fixes #MMMMM
20- to the description of your pull request will ensure the
21- corresponding tickets will be closed automatically upon merge.
22- The ticket ids can be found in the file name or the ` known-bug ` annotation
23- inside the testfile.
24-
25- Please do not re-report any crashes that you find here!
1+ Documentation on crash tests is at https://rustc-dev-guide.rust-lang.org/tests/compiletest#crash-tests
You can’t perform that action at this time.
0 commit comments