From ab00c6987a2297b277ad8cadce8c48a705310d17 Mon Sep 17 00:00:00 2001 From: Rukai Date: Sat, 8 May 2021 13:04:25 +1000 Subject: [PATCH] Fix build on the latest nightly --- embassy-traits/src/lib.rs | 1 - embassy/src/lib.rs | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) 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)]