From 68393b88f2013f4d5015314c7cf47cb32e9213b9 Mon Sep 17 00:00:00 2001 From: Agustin Borgna Date: Thu, 14 Mar 2024 15:37:29 +0000 Subject: [PATCH] chore: Compile the test skipped due to extension_inference --- quantinuum-hugr/src/algorithm/const_fold.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/quantinuum-hugr/src/algorithm/const_fold.rs b/quantinuum-hugr/src/algorithm/const_fold.rs index 8397505cd..138769ae7 100644 --- a/quantinuum-hugr/src/algorithm/const_fold.rs +++ b/quantinuum-hugr/src/algorithm/const_fold.rs @@ -330,8 +330,11 @@ mod test { Ok(()) } - #[cfg(not(feature = "extension_inference"))] // inference fails for test graph, shouldn't #[test] + #[cfg_attr( + feature = "extension_inference", + ignore = "inference fails for test graph, it shouldn't" + )] fn test_list_ops() -> Result<(), Box> { use crate::std_extensions::collections::{self, ListOp, ListValue};