From ef9a68f2019ff72bc85ff1bb92956141273c476c Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Tue, 19 Apr 2022 14:19:50 -0700 Subject: [PATCH] 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. --- src/test/ui/coercion/coerce-issue-49593-box-never.rs | 1 + 1 file changed, 1 insertion(+) 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 7a4324bd5adc..16efb65acb2b 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