From 6918314bfffc781af5fed051be5d79957d176fac Mon Sep 17 00:00:00 2001 From: Brian Carlsen Date: Mon, 15 Jul 2024 02:43:48 +0200 Subject: [PATCH] Uses caller tracking for filtered signals for better warning reporting. --- src/utils/signal_filtered.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/utils/signal_filtered.rs b/src/utils/signal_filtered.rs index 3a81446..1e7ad03 100644 --- a/src/utils/signal_filtered.rs +++ b/src/utils/signal_filtered.rs @@ -8,6 +8,7 @@ macro_rules! signal_filtered { ) => { paste! { $(#[$outer])* + #[track_caller] pub fn []( value: S, ms: impl Into> + 'static, @@ -27,6 +28,7 @@ macro_rules! signal_filtered { /// See #[$simple_func_doc] /// for how to use. + #[track_caller] pub fn []( value: S, ms: impl Into> + 'static,