From aaf6ccc951c801338af2aff6ac3bffafd2db613f Mon Sep 17 00:00:00 2001 From: Eric Huss Date: Fri, 5 Nov 2021 07:15:03 -0700 Subject: [PATCH] Document rustfix-only-machine-applicable --- src/tests/adding.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/tests/adding.md b/src/tests/adding.md index 7e8ff9e9..f99363a3 100644 --- a/src/tests/adding.md +++ b/src/tests/adding.md @@ -169,6 +169,11 @@ source. source is compiled, and this compilation is required to succeed. The `.fixed` file can also be generated automatically with the `--bless` option, described in [this section][bless]. +* `rustfix-only-machine-applicable` is equivalent to `run-rustfix` except it + will only apply [`MachineApplicable`](../diagnostics.md#suggestions) + suggestions. `run-rustfix` will apply *all* suggestions. This should be used + if there is a mixture of different suggestion levels, and some of the + non-machine-applicable ones do not apply cleanly. * `min-gdb-version` specifies the minimum gdb version required for this test; see also `ignore-gdb-version` * `min-lldb-version` specifies the minimum lldb version required for