From 6a9fcbaf9baa475f4fb7e44abe917de9c670b72c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Le=C3=B3n=20Orell=20Valerian=20Liehr?= Date: Wed, 19 Jun 2024 00:27:09 +0200 Subject: [PATCH] Clarify note about compiletest header `rustfix-only-machine-applicable` --- 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 2eda0b51e..32854e5e7 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.