Fix note about compiletest header `rustfix-only-machine-applicable` (#1998)

This commit is contained in:
León Orell Valerian Liehr 2024-06-19 00:50:10 +02:00 committed by GitHub
parent 38b6a5cf3e
commit de583d2b44
1 changed files with 2 additions and 2 deletions

View File

@ -500,8 +500,8 @@ automatically with the `x test --bless` option.
The `run-rustfix` header will cause *all* suggestions to be applied, even The `run-rustfix` header will cause *all* suggestions to be applied, even
if they are not [`MachineApplicable`](../diagnostics.md#suggestions). if they are not [`MachineApplicable`](../diagnostics.md#suggestions).
If this is a problem, then you can instead use the `rustfix-only-machine-applicable` If this is a problem, then you can add the `rustfix-only-machine-applicable`
header. header in addition to `run-rustfix`.
This should be used if there is a mixture of different suggestion levels, and 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. some of the non-machine-applicable ones do not apply cleanly.