Fix build on the latest nightly

This commit is contained in:
Rukai 2021-05-08 13:04:25 +10:00
parent 76f737bb0e
commit ab00c6987a
2 changed files with 1 additions and 2 deletions

View File

@ -1,6 +1,5 @@
#![cfg_attr(not(feature = "std"), no_std)] #![cfg_attr(not(feature = "std"), no_std)]
#![feature(generic_associated_types)] #![feature(generic_associated_types)]
#![feature(const_fn)]
#![feature(const_fn_fn_ptr_basics)] #![feature(const_fn_fn_ptr_basics)]
#![feature(const_option)] #![feature(const_option)]
#![allow(incomplete_features)] #![allow(incomplete_features)]

View File

@ -1,6 +1,6 @@
#![cfg_attr(not(feature = "std"), no_std)] #![cfg_attr(not(feature = "std"), no_std)]
#![feature(generic_associated_types)] #![feature(generic_associated_types)]
#![feature(const_fn)] #![feature(const_fn_trait_bound)]
#![feature(const_fn_fn_ptr_basics)] #![feature(const_fn_fn_ptr_basics)]
#![feature(const_option)] #![feature(const_option)]
#![allow(incomplete_features)] #![allow(incomplete_features)]