Skip to content

Commit

Permalink
Clarify note about compiletest header rustfix-only-machine-applicable
Browse files Browse the repository at this point in the history
  • Loading branch information
fmease committed Jun 18, 2024
1 parent 610b875 commit 6a9fcba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/tests/ui.md
Original file line number Diff line number Diff line change
Expand Up @@ -500,8 +500,8 @@ automatically with the `x test --bless` option.

The `run-rustfix` header will cause *all* suggestions to be applied, even
if they are not [`MachineApplicable`](../diagnostics.md#suggestions).
If this is a problem, then you can instead use the `rustfix-only-machine-applicable`
header.
If this is a problem, then you can add the `rustfix-only-machine-applicable`
header in addition to `run-rustfix`.
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.

Expand Down

0 comments on commit 6a9fcba

Please sign in to comment.