Allow unused stuff in fmt.rs

This commit is contained in:
Dario Nieuwenhuis 2021-03-18 01:42:28 +01:00
parent 3de2d5c5bd
commit f248bb17ad
4 changed files with 4 additions and 0 deletions

View File

@ -1,5 +1,6 @@
#![macro_use] #![macro_use]
#![allow(clippy::module_inception)] #![allow(clippy::module_inception)]
#![allow(unused)]
#[cfg(all(feature = "defmt", feature = "log"))] #[cfg(all(feature = "defmt", feature = "log"))]
compile_error!("You may not enable both `defmt` and `log` features."); compile_error!("You may not enable both `defmt` and `log` features.");

View File

@ -1,5 +1,6 @@
#![macro_use] #![macro_use]
#![allow(clippy::module_inception)] #![allow(clippy::module_inception)]
#![allow(unused)]
#[cfg(all(feature = "defmt", feature = "log"))] #[cfg(all(feature = "defmt", feature = "log"))]
compile_error!("You may not enable both `defmt` and `log` features."); compile_error!("You may not enable both `defmt` and `log` features.");

View File

@ -1,5 +1,6 @@
#![macro_use] #![macro_use]
#![allow(clippy::module_inception)] #![allow(clippy::module_inception)]
#![allow(unused)]
#[cfg(all(feature = "defmt", feature = "log"))] #[cfg(all(feature = "defmt", feature = "log"))]
compile_error!("You may not enable both `defmt` and `log` features."); compile_error!("You may not enable both `defmt` and `log` features.");

View File

@ -1,5 +1,6 @@
#![macro_use] #![macro_use]
#![allow(clippy::module_inception)] #![allow(clippy::module_inception)]
#![allow(unused)]
#[cfg(all(feature = "defmt", feature = "log"))] #[cfg(all(feature = "defmt", feature = "log"))]
compile_error!("You may not enable both `defmt` and `log` features."); compile_error!("You may not enable both `defmt` and `log` features.");