]>
Commit | Line | Data |
---|---|---|
94b46f34 XL |
1 | This directory contains test files that are **not expected to |
2 | compile**. It is useful for writing tests that things which ought not | |
3 | to type-check do not, in fact, type-check. | |
4 | ||
5 | To write a test, just write a `.rs` file using Rayon. Then, for each | |
6 | compilation error, write a `//~ ERROR E123` annotation on the line | |
7 | where the error occurs. `E123` should be the error code that is issued | |
8 | by rustc. This should be reasonably robust against future compiler | |
9 | changes, though in some cases the errors may start showing up on | |
10 | different lines etc as compiler heuristics change. | |
11 |