File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -149,9 +149,12 @@ exhaustive. Header commands can generally be found by browsing the
149
149
source.
150
150
151
151
* ` run-rustfix ` for UI tests, indicates that the test produces
152
- structured suggestions, which are then applied and the final
153
- source is stored in a ` .fixed ` file and compiled again. The final
154
- compilation is required to succeed.
152
+ structured suggestions. The test writer should create a ` .fixed `
153
+ file, which contains the source with the suggestions applied.
154
+ When the test is run, compiletest first checks that the correct
155
+ lint/warning is generated. Then, it applies the suggestion and
156
+ compares against ` .fixed ` (they must match). Finally, the fixed
157
+ source is compiled, and this compilation is required to succeed.
155
158
* ` min-{gdb,lldb}-version `
156
159
* ` min-llvm-version `
157
160
* ` compile-pass ` for UI tests, indicates that the test is
You can’t perform that action at this time.
0 commit comments