Skip to content

Commit aaf6ccc

Browse files
ehussjyn514
authored andcommitted
Document rustfix-only-machine-applicable
1 parent 9660c15 commit aaf6ccc

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/tests/adding.md

+5
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,11 @@ source.
169169
source is compiled, and this compilation is required to succeed.
170170
The `.fixed` file can also be generated automatically with the
171171
`--bless` option, described in [this section][bless].
172+
* `rustfix-only-machine-applicable` is equivalent to `run-rustfix` except it
173+
will only apply [`MachineApplicable`](../diagnostics.md#suggestions)
174+
suggestions. `run-rustfix` will apply *all* suggestions. This should be used
175+
if there is a mixture of different suggestion levels, and some of the
176+
non-machine-applicable ones do not apply cleanly.
172177
* `min-gdb-version` specifies the minimum gdb version required for
173178
this test; see also `ignore-gdb-version`
174179
* `min-lldb-version` specifies the minimum lldb version required for

0 commit comments

Comments
 (0)