diff --git a/embassy-extras/src/fmt.rs b/embassy-extras/src/fmt.rs index fc1855ed1..160642ccd 100644 --- a/embassy-extras/src/fmt.rs +++ b/embassy-extras/src/fmt.rs @@ -1,5 +1,6 @@ #![macro_use] #![allow(clippy::module_inception)] +#![allow(unused)] #[cfg(all(feature = "defmt", feature = "log"))] compile_error!("You may not enable both `defmt` and `log` features."); diff --git a/embassy-nrf/src/fmt.rs b/embassy-nrf/src/fmt.rs index fc1855ed1..160642ccd 100644 --- a/embassy-nrf/src/fmt.rs +++ b/embassy-nrf/src/fmt.rs @@ -1,5 +1,6 @@ #![macro_use] #![allow(clippy::module_inception)] +#![allow(unused)] #[cfg(all(feature = "defmt", feature = "log"))] compile_error!("You may not enable both `defmt` and `log` features."); diff --git a/embassy-stm32f4/src/fmt.rs b/embassy-stm32f4/src/fmt.rs index fc1855ed1..160642ccd 100644 --- a/embassy-stm32f4/src/fmt.rs +++ b/embassy-stm32f4/src/fmt.rs @@ -1,5 +1,6 @@ #![macro_use] #![allow(clippy::module_inception)] +#![allow(unused)] #[cfg(all(feature = "defmt", feature = "log"))] compile_error!("You may not enable both `defmt` and `log` features."); diff --git a/embassy/src/fmt.rs b/embassy/src/fmt.rs index fc1855ed1..160642ccd 100644 --- a/embassy/src/fmt.rs +++ b/embassy/src/fmt.rs @@ -1,5 +1,6 @@ #![macro_use] #![allow(clippy::module_inception)] +#![allow(unused)] #[cfg(all(feature = "defmt", feature = "log"))] compile_error!("You may not enable both `defmt` and `log` features.");