From 9d2a88595b165d73a55f6df8fcf997de7a4b70bf Mon Sep 17 00:00:00 2001 From: Sebastian Ziebell Date: Wed, 27 Oct 2021 12:51:55 +0200 Subject: [PATCH] Mark ignored functions as used in defmt-test This is to not cause a `dead_code` warning when an ignored test function is not run. --- firmware/defmt-test/macros/src/lib.rs | 3 +-- firmware/qemu/tests/defmt-test.rs | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/firmware/defmt-test/macros/src/lib.rs b/firmware/defmt-test/macros/src/lib.rs index f13868fb..1f80daa0 100644 --- a/firmware/defmt-test/macros/src/lib.rs +++ b/firmware/defmt-test/macros/src/lib.rs @@ -195,8 +195,7 @@ fn tests_impl(args: TokenStream, input: TokenStream) -> parse::Result Result<(), ()> { Err(()) }