From 47f6bdd551308d1fe90fcf88f5a357acfe806d2c Mon Sep 17 00:00:00 2001 From: Lokathor Date: Sun, 1 Sep 2024 21:14:19 -0600 Subject: [PATCH] improve the unimplemented message. --- src/macros.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/macros.rs b/src/macros.rs index ce894dc..46eab24 100644 --- a/src/macros.rs +++ b/src/macros.rs @@ -8,7 +8,7 @@ macro_rules! on_gba_or_unimplemented { $($token_tree)* } #[cfg(not(feature="on_gba"))] - unimplemented!() + unimplemented!("Called code required to be on the GBA without `on_gba` enabled.") } } pub(crate) use on_gba_or_unimplemented;