From de583d2b44683ff0609baf81f32e11a2e331da27 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Le=C3=B3n=20Orell=20Valerian=20Liehr?= Date: Wed, 19 Jun 2024 00:50:10 +0200 Subject: [PATCH] Fix note about compiletest header `rustfix-only-machine-applicable` (#1998) --- src/tests/ui.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tests/ui.md b/src/tests/ui.md index 2eda0b51..32854e5e 100644 --- a/src/tests/ui.md +++ b/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.