about summary refs log tree commit diff
diff options
context:
space:
mode:
authorDan Gohman <dev@sunfishcode.online>2022-04-19 14:19:50 -0700
committerDan Gohman <dev@sunfishcode.online>2022-04-19 14:19:50 -0700
commitef9a68f2019ff72bc85ff1bb92956141273c476c (patch)
treea72730f9483b92e5bec236a8d72f90413487b6b3
parent19ef182655b0ffbaadf859fc774d94bb6fd7e17e (diff)
downloadrust-ef9a68f2019ff72bc85ff1bb92956141273c476c.tar.gz
rust-ef9a68f2019ff72bc85ff1bb92956141273c476c.zip
Add ignore-windows to a test.
This test has an expected stderr containing text like this:

```
help: the following other types implement trait `std::error::Error`:
             ...
           and 43 others
```

However, the number 43 is platform-specific; on Windows, there are two
additional types, `InvalidHandleError` and `NullHandleError`, and the
number of 45. So for now, disable this test on Windows.
-rw-r--r--src/test/ui/coercion/coerce-issue-49593-box-never.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/ui/coercion/coerce-issue-49593-box-never.rs b/src/test/ui/coercion/coerce-issue-49593-box-never.rs
index 7a4324bd5ad..16efb65acb2 100644
--- a/src/test/ui/coercion/coerce-issue-49593-box-never.rs
+++ b/src/test/ui/coercion/coerce-issue-49593-box-never.rs
@@ -1,4 +1,5 @@
 // revisions: nofallback fallback
+// ignore-windows - the number of `Error` impls is platform-dependent
 //[fallback] check-pass
 //[nofallback] check-fail