diff --git a/hugr-core/src/types.rs b/hugr-core/src/types.rs index 982969357..be45c1985 100644 --- a/hugr-core/src/types.rs +++ b/hugr-core/src/types.rs @@ -16,14 +16,18 @@ use crate::types::type_param::check_type_arg; use crate::utils::display_list_with_separator; pub use check::SumTypeError; pub use custom::CustomType; -pub(crate) use poly_func::PolyFuncTypeBase; pub use poly_func::{PolyFuncType, PolyFuncTypeRV}; -pub(crate) use signature::FuncTypeBase; pub use signature::{FuncValueType, Signature}; use smol_str::SmolStr; pub use type_param::TypeArg; pub use type_row::{TypeRow, TypeRowRV}; +// Unused in --no-features +#[allow(unused_imports)] +pub(crate) use poly_func::PolyFuncTypeBase; +#[allow(unused_imports)] +pub(crate) use signature::FuncTypeBase; + use itertools::FoldWhile::{Continue, Done}; use itertools::{repeat_n, Itertools}; #[cfg(test)]