Only run invalid_result_conversion on linux

This commit is contained in:
mejrs 2023-10-08 04:23:05 +02:00
parent 6ca573b9d0
commit d6e22a9972

View file

@ -33,7 +33,7 @@ fn test_compile_errors() {
t.compile_fail("tests/ui/invalid_pymethod_receiver.rs");
t.compile_fail("tests/ui/missing_intopy.rs");
// adding extra error conversion impls changes the output
#[cfg(not(any(feature = "eyre", feature = "anyhow")))]
#[cfg(all(target_os = "linux", not(any(feature = "eyre", feature = "anyhow"))))]
t.compile_fail("tests/ui/invalid_result_conversion.rs");
t.compile_fail("tests/ui/not_send.rs");
t.compile_fail("tests/ui/not_send2.rs");