about summary refs log tree commit diff
path: root/src/doc/rustc-dev-guide
diff options
context:
space:
mode:
authorTshepang Mbambo <tshepang@gmail.com>2025-04-07 06:42:37 +0200
committerGitHub <noreply@github.com>2025-04-07 06:42:37 +0200
commiteb676fd2da9e7689cac68042af925562dc52a945 (patch)
treea231419b25a222b8255788656f282a91b2bf2529 /src/doc/rustc-dev-guide
parent30fb3d9da35ff8336aa327e5075c5a2b7c0d6c60 (diff)
downloadrust-eb676fd2da9e7689cac68042af925562dc52a945.tar.gz
rust-eb676fd2da9e7689cac68042af925562dc52a945.zip
improve flow
Diffstat (limited to 'src/doc/rustc-dev-guide')
-rw-r--r--src/doc/rustc-dev-guide/src/tests/ui.md5
1 files changed, 3 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 407862d48af..e862a07cae0 100644
--- a/src/doc/rustc-dev-guide/src/tests/ui.md
+++ b/src/doc/rustc-dev-guide/src/tests/ui.md
@@ -335,8 +335,9 @@ But for strict testing, try to use the `ERROR` annotation as much as possible,
 including `//~?` annotations for diagnostics without span.
 For compile time diagnostics `error-pattern` should very rarely be necessary.
 
-Per-line annotations (`//~`) are still checked in tests using `error-pattern`,
-to opt out of these checks in exceptional cases use `//@ compile-flags: --error-format=human`.
+Per-line annotations (`//~`) are still checked in tests using `error-pattern`.
+To opt out of these checks, use `//@ compile-flags: --error-format=human`.
+Do that only in exceptional cases.
 
 ### Error levels