diff --git a/src/lib.rs b/src/lib.rs index f8cd586..8175cc4 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -18,7 +18,7 @@ //! # Implementing GlobalAlloc //! See the [global alloc](https://github.com/gz/rust-slabmalloc/tree/master/examples/global_alloc.rs) example. #![allow(unused_features)] -#![cfg_attr(feature = "unstable", feature(const_fn))] +#![cfg_attr(feature = "unstable", feature(const_fn, const_mut_refs))] #![cfg_attr( test, feature(