diff --git a/embassy-traits/src/lib.rs b/embassy-traits/src/lib.rs index ea59444c..ceef0d2e 100644 --- a/embassy-traits/src/lib.rs +++ b/embassy-traits/src/lib.rs @@ -1,6 +1,5 @@ #![cfg_attr(not(feature = "std"), no_std)] #![feature(generic_associated_types)] -#![feature(const_fn)] #![feature(const_fn_fn_ptr_basics)] #![feature(const_option)] #![allow(incomplete_features)] diff --git a/embassy/src/lib.rs b/embassy/src/lib.rs index af05a794..3a0701d3 100644 --- a/embassy/src/lib.rs +++ b/embassy/src/lib.rs @@ -1,6 +1,6 @@ #![cfg_attr(not(feature = "std"), no_std)] #![feature(generic_associated_types)] -#![feature(const_fn)] +#![feature(const_fn_trait_bound)] #![feature(const_fn_fn_ptr_basics)] #![feature(const_option)] #![allow(incomplete_features)]