From 3acabc4a88ca81e76d63d7d28fee125ce4143d77 Mon Sep 17 00:00:00 2001 From: Philip Degarmo Date: Sun, 13 Oct 2024 19:59:47 -0700 Subject: [PATCH] Add static bound --- profiling/src/type_check_impl.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/profiling/src/type_check_impl.rs b/profiling/src/type_check_impl.rs index 7c01259..35b2e07 100644 --- a/profiling/src/type_check_impl.rs +++ b/profiling/src/type_check_impl.rs @@ -3,10 +3,10 @@ #[macro_export] macro_rules! scope { ($name:literal) => { - let _: &str = $name; + let _: &'static str = $name; }; ($name:literal, $data:expr) => { - let _: &str = $name; + let _: &'static str = $name; let _: &str = $data; }; }