diff --git a/enumset/src/lib.rs b/enumset/src/lib.rs index b038d62..1378db3 100644 --- a/enumset/src/lib.rs +++ b/enumset/src/lib.rs @@ -82,6 +82,7 @@ //! assert_eq!(set, Enum::A | Enum::E | Enum::G); //! ``` +#[cfg(feature = "alloc")] extern crate alloc; mod macros;