From c852c2412713bcfc5d21144f085628ba59b6d246 Mon Sep 17 00:00:00 2001 From: Icxolu <10486322+Icxolu@users.noreply.github.com> Date: Tue, 30 Jul 2024 21:36:35 +0200 Subject: [PATCH] fix ui tests --- tests/test_compile_error.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/test_compile_error.rs b/tests/test_compile_error.rs index c2d8d3287c1..b1fcdc09fb7 100644 --- a/tests/test_compile_error.rs +++ b/tests/test_compile_error.rs @@ -29,12 +29,14 @@ fn test_compile_errors() { t.compile_fail("tests/ui/static_ref.rs"); t.compile_fail("tests/ui/wrong_aspyref_lifetimes.rs"); t.compile_fail("tests/ui/invalid_pyfunctions.rs"); + #[cfg(not(any(feature = "hashbrown", feature = "indexmap")))] t.compile_fail("tests/ui/invalid_pymethods.rs"); // output changes with async feature #[cfg(all(Py_LIMITED_API, feature = "experimental-async"))] t.compile_fail("tests/ui/abi3_nativetype_inheritance.rs"); t.compile_fail("tests/ui/invalid_intern_arg.rs"); t.compile_fail("tests/ui/invalid_frozen_pyclass_borrow.rs"); + #[cfg(not(any(feature = "hashbrown", feature = "indexmap")))] 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