From b649967f148bb5d2b30581c55dd7c726da25c3d1 Mon Sep 17 00:00:00 2001 From: Pierre Chifflier Date: Tue, 9 Apr 2024 14:45:58 +0200 Subject: [PATCH] Fix warnings (unused macros/imports) when building with nostd --- src/debug.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/debug.rs b/src/debug.rs index 1ae04ea..d7dc994 100644 --- a/src/debug.rs +++ b/src/debug.rs @@ -1,3 +1,5 @@ +#![allow(unused_imports)] + use crate::ParseResult; pub(crate) mod macros { @@ -12,6 +14,7 @@ pub(crate) mod macros { }; } + #[allow(unused_macros)] macro_rules! trace_eprintln { ($msg: expr, $( $args:expr ),* ) => { #[cfg(feature = "trace")]