diff options
| author | León Orell Valerian Liehr <me@fmease.dev> | 2024-06-19 00:50:10 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-06-18 23:50:10 +0100 |
| commit | d560048950807f669751b8bbc5ec2254605a8fc6 (patch) | |
| tree | 9aedbf9f412db77b55bf69327041f72799d95d45 /src/doc/rustc-dev-guide | |
| parent | a9586ed0b3a4552c7b946c51d74033695500f331 (diff) | |
Fix note about compiletest header `rustfix-only-machine-applicable` (#1998)
Diffstat (limited to 'src/doc/rustc-dev-guide')
| -rw-r--r-- | src/doc/rustc-dev-guide/src/tests/ui.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/doc/rustc-dev-guide/src/tests/ui.md b/src/doc/rustc-dev-guide/src/tests/ui.md index 2eda0b51e98..32854e5e7de 100644 --- a/src/doc/rustc-dev-guide/src/tests/ui.md +++ b/src/doc/rustc-dev-guide/src/tests/ui.md @@ -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. |
