diff options
| author | Tshepang Mbambo <tshepang@gmail.com> | 2025-04-07 06:42:37 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-04-07 06:42:37 +0200 |
| commit | eb676fd2da9e7689cac68042af925562dc52a945 (patch) | |
| tree | a231419b25a222b8255788656f282a91b2bf2529 /src/doc/rustc-dev-guide | |
| parent | 30fb3d9da35ff8336aa327e5075c5a2b7c0d6c60 (diff) | |
| download | rust-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.md | 5 |
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 |
