diff --git a/embassy-nrf-examples/src/bin/buffered_uart.rs b/embassy-nrf-examples/src/bin/buffered_uart.rs index bad8ee46..42e81229 100644 --- a/embassy-nrf-examples/src/bin/buffered_uart.rs +++ b/embassy-nrf-examples/src/bin/buffered_uart.rs @@ -40,7 +40,7 @@ async fn run() { let ppi = hal::ppi::Parts::new(p.PPI); let irq = interrupt::take!(UARTE0_UART0); - let mut u = buffered_uarte::BufferedUarte::new( + let u = buffered_uarte::BufferedUarte::new( p.UARTE0, p.TIMER0, ppi.ppi0, diff --git a/embassy-nrf/src/lib.rs b/embassy-nrf/src/lib.rs index ac237176..b137b80c 100644 --- a/embassy-nrf/src/lib.rs +++ b/embassy-nrf/src/lib.rs @@ -2,6 +2,7 @@ #![feature(generic_associated_types)] #![feature(asm)] #![feature(type_alias_impl_trait)] +#![allow(incomplete_features)] #[cfg(not(any( feature = "52810", diff --git a/embassy-stm32f4/src/lib.rs b/embassy-stm32f4/src/lib.rs index eb8530ea..b0616cb0 100644 --- a/embassy-stm32f4/src/lib.rs +++ b/embassy-stm32f4/src/lib.rs @@ -2,6 +2,7 @@ #![feature(generic_associated_types)] #![feature(asm)] #![feature(type_alias_impl_trait)] +#![allow(incomplete_features)] #[cfg(not(any( feature = "stm32f401", diff --git a/embassy/src/lib.rs b/embassy/src/lib.rs index baa449db..cab61080 100644 --- a/embassy/src/lib.rs +++ b/embassy/src/lib.rs @@ -3,6 +3,7 @@ #![feature(const_fn)] #![feature(const_fn_fn_ptr_basics)] #![feature(const_option)] +#![allow(incomplete_features)] // This mod MUST go first, so that the others see its macros. pub(crate) mod fmt;