diff options
| author | Vadim Petrochenkov <vadim.petrochenkov@gmail.com> | 2025-03-29 02:41:32 +0300 |
|---|---|---|
| committer | Vadim Petrochenkov <vadim.petrochenkov@gmail.com> | 2025-04-03 11:08:55 +0300 |
| commit | 4d649906900cd833b0680f53b8c197b087711a4a (patch) | |
| tree | a840262c32e0e954ebe3f6dfc4ae1c3eda51eaba /tests/ui/io-checks | |
| parent | b6d74b5e15b0d479a98b8b18bb70050511108882 (diff) | |
| download | rust-4d649906900cd833b0680f53b8c197b087711a4a.tar.gz rust-4d649906900cd833b0680f53b8c197b087711a4a.zip | |
compiletest: Require `//~` annotations even if `error-pattern` is specified
Diffstat (limited to 'tests/ui/io-checks')
| -rw-r--r-- | tests/ui/io-checks/non-ice-error-on-worker-io-fail.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/ui/io-checks/non-ice-error-on-worker-io-fail.rs b/tests/ui/io-checks/non-ice-error-on-worker-io-fail.rs index 7cae77eb67f..5a5d0086aa9 100644 --- a/tests/ui/io-checks/non-ice-error-on-worker-io-fail.rs +++ b/tests/ui/io-checks/non-ice-error-on-worker-io-fail.rs @@ -16,8 +16,6 @@ // rely on the checking of the normalized stderr output as our actual // "verification" of the diagnostic). -//@ error-pattern: error - // On Mac OS X, we get an error like the below //@ normalize-stderr: "failed to write bytecode to ./does-not-exist/output.non_ice_error_on_worker_io_fail.*" -> "io error modifying ./does-not-exist/" @@ -29,3 +27,5 @@ //@ ignore-arm - the file-system issues do not replicate here, at least on armhf-gnu #![crate_type = "lib"] + +//~? ERROR /does-not-exist/ |
