From 57b78925cab4b64fb5f08e64b70d5eec8429c1ef Mon Sep 17 00:00:00 2001 From: toku-sa-n Date: Thu, 24 Sep 2020 14:08:43 +0900 Subject: [PATCH] Fix build error See: https://github.com/rust-lang/rust/issues/77134 --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index 997b01c..ece8274 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,4 +1,4 @@ -#![feature(const_fn)] +#![feature(const_mut_refs)] #![cfg_attr( feature = "alloc_ref", feature(allocator_api, alloc_layout_extra, nonnull_slice_from_raw_parts)