diff options
| author | clubby789 <jamie@hill-daniel.co.uk> | 2024-12-27 12:21:52 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-12-27 12:21:52 +0000 |
| commit | d2e8f12cd27b60678c9e489098b152925c36d8e0 (patch) | |
| tree | 8a88c44548d3c5fa0464f220d43b86d5eeefaa0d /src/doc/rustc-dev-guide | |
| parent | e425e8ae48b1d775cfd3416cbfb114187846e633 (diff) | |
Document `forbid-output` for UI tests (#2171)
Diffstat (limited to 'src/doc/rustc-dev-guide')
| -rw-r--r-- | src/doc/rustc-dev-guide/src/tests/directives.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/rustc-dev-guide/src/tests/directives.md b/src/doc/rustc-dev-guide/src/tests/directives.md index a709f7e2948..20c242fc0e7 100644 --- a/src/doc/rustc-dev-guide/src/tests/directives.md +++ b/src/doc/rustc-dev-guide/src/tests/directives.md @@ -105,7 +105,7 @@ for more details. | `exec-env` | Env var to set when executing a test | `ui`, `crashes` | `<KEY>=<VALUE>` | | `unset-exec-env` | Env var to unset when executing a test | `ui`, `crashes` | Any env var name | | `stderr-per-bitwidth` | Generate a stderr snapshot for each bitwidth | `ui` | N/A | -| `forbid-output` | A pattern which must not appear in `cfail` output | `incremental` | Regex pattern | +| `forbid-output` | A pattern which must not appear in stderr/`cfail` output | `ui`, `incremental` | Regex pattern | | `run-flags` | Flags passed to the test executable | `ui` | Arbitrary flags | | `known-bug` | No error annotation needed due to known bug | `ui`, `crashes`, `incremental` | Issue number `#123456` | |
