be more lax with ordering in invalid_result_conversion ui test

This commit is contained in:
David Hewitt 2023-12-26 22:54:39 +00:00
parent 9a5668572b
commit e852a4b502

View file

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